Try Gemini 1.5 models , our newest multimodal models in Vertex AI, and see what you can build with a 1M token context window.
Try Gemini 1.5 models , our newest multimodal models in Vertex AI, and see what you can build with a 1M token context window.
Send feedback
Enum Tensor.DataType (1.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
public enum Tensor.DataType extends Enum<Tensor.DataType> implements ProtocolMessageEnum
Data type of the tensor.
Protobuf enum google.cloud.vertexai.v1.Tensor.DataType
Static Fields
Name
Description
BOOL
Data types that all computation devices are expected to be
capable to support.
BOOL = 1;
BOOL_VALUE
Data types that all computation devices are expected to be
capable to support.
BOOL = 1;
DATA_TYPE_UNSPECIFIED
Not a legal value for DataType. Used to indicate a DataType field has not
been set.
DATA_TYPE_UNSPECIFIED = 0;
DATA_TYPE_UNSPECIFIED_VALUE
Not a legal value for DataType. Used to indicate a DataType field has not
been set.
DATA_TYPE_UNSPECIFIED = 0;
DOUBLE
DOUBLE = 4;
DOUBLE_VALUE
DOUBLE = 4;
FLOAT
FLOAT = 3;
FLOAT_VALUE
FLOAT = 3;
INT16
INT16 = 6;
INT16_VALUE
INT16 = 6;
INT32
INT32 = 7;
INT32_VALUE
INT32 = 7;
INT64
INT64 = 8;
INT64_VALUE
INT64 = 8;
INT8
INT8 = 5;
INT8_VALUE
INT8 = 5;
STRING
STRING = 2;
STRING_VALUE
STRING = 2;
UINT16
UINT16 = 10;
UINT16_VALUE
UINT16 = 10;
UINT32
UINT32 = 11;
UINT32_VALUE
UINT32 = 11;
UINT64
UINT64 = 12;
UINT64_VALUE
UINT64 = 12;
UINT8
UINT8 = 9;
UINT8_VALUE
UINT8 = 9;
UNRECOGNIZED
Static Methods
Name
Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)
Deprecated. Use #forNumber(int) instead.
valueOf(String name)
values()
Methods
Name
Description
getDescriptorForType()
getNumber()
getValueDescriptor()
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?