Class: Aws::SageMakerTrainingSessionRuntime::Types::EncodedTextChunk
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMakerTrainingSessionRuntime::Types::EncodedTextChunk
- Defined in:
- gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb
Overview
A chunk of pre-tokenized text represented as a list of token IDs.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#tokens ⇒ Array<Integer>
The token IDs representing the encoded text.
-
#type ⇒ String
The type of the chunk encoding.
Instance Attribute Details
#tokens ⇒ Array<Integer>
The token IDs representing the encoded text.
152 153 154 155 156 157 |
# File 'gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb', line 152 class EncodedTextChunk < Struct.new( :tokens, :type) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The type of the chunk encoding.
152 153 154 155 156 157 |
# File 'gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb', line 152 class EncodedTextChunk < Struct.new( :tokens, :type) SENSITIVE = [] include Aws::Structure end |