Enum Tensor.DataType (1.15.0)

public enum Tensor.DataType extends Enum<Tensor.DataType> implements ProtocolMessageEnum

Data type of the tensor.

Protobuf enum google.cloud.vertexai.v1.Tensor.DataType

Implements

ProtocolMessageEnum

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()