TensorData
¶
Source code in docs_src/capo_sagemakertrainingsessionruntime/types/tensor_data.py
data
instance-attribute
¶
data: object
The raw tensor data as JSON. The format is determined by the dtype field: integer arrays for int64, floating-point arrays for float32.
dtype
instance-attribute
¶
dtype: str
The data type of the tensor elements, such as int64 or float32.
shape
instance-attribute
¶
shape: NotRequired[IntegerList]
The dimensions of the tensor, such as [batch_size, seq_length].