Google Cloud Ai Platform V1 Client - Class DataType (1.12.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DataType.

Data type of the tensor.

Protobuf type google.cloud.aiplatform.v1.Tensor.DataType

Namespace

Google \ Cloud \ AIPlatform \ V1 \ Tensor

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

DATA_TYPE_UNSPECIFIED

Value: 0

Not a legal value for DataType. Used to indicate a DataType field has not been set.

Generated from protobuf enum DATA_TYPE_UNSPECIFIED = 0;

BOOL

Value: 1

Data types that all computation devices are expected to be capable to support.

Generated from protobuf enum BOOL = 1;

STRING

Value: 2

Generated from protobuf enum STRING = 2;

FLOAT

Value: 3

Generated from protobuf enum FLOAT = 3;

DOUBLE

Value: 4

Generated from protobuf enum DOUBLE = 4;

INT8

Value: 5

Generated from protobuf enum INT8 = 5;

INT16

Value: 6

Generated from protobuf enum INT16 = 6;

INT32

Value: 7

Generated from protobuf enum INT32 = 7;

INT64

Value: 8

Generated from protobuf enum INT64 = 8;

UINT8

Value: 9

Generated from protobuf enum UINT8 = 9;

UINT16

Value: 10

Generated from protobuf enum UINT16 = 10;

UINT32

Value: 11

Generated from protobuf enum UINT32 = 11;

UINT64

Value: 12

Generated from protobuf enum UINT64 = 12;