A tensor value type.
The data type of tensor.
Shape of the tensor.
boolVal[]
boolean
type specific representations that make it easy to create tensor protos in all languages. Only the representation corresponding to "dtype" can be set. The values hold the flattened representation of the tensor in row major order.
stringVal[]
string
floatVal[]
number
doubleVal[]
number
uint64Val[]
string
A list of tensor values.
A map of string to tensor.
Serialized raw tensor content.
A base64-encoded string.
JSON representation |
---|
{ "dtype": enum ( |
DataType
data type of the tensor.
Enums | |
---|---|
DATA_TYPE_UNSPECIFIED |
Not a legal value for datatype. Used to indicate a datatype field has not been set. |
BOOL |
data types that all computation devices are expected to be capable to support. |
STRING |
|
FLOAT |
|
DOUBLE |
|
INT8 |
|
INT16 |
|
INT32 |
|
INT64 |
|
UINT8 |
|
UINT16 |
|
UINT32 |
|
UINT64 |