Class DataType (1.50.0)

DataType(value)

Data type of the tensor.

Enum values:

DATA_TYPE_UNSPECIFIED (0):
    Not a legal value for DataType. Used to
    indicate a DataType field has not been set.
BOOL (1):
    Data types that all computation devices are
    expected to be capable to support.
STRING (2):
    No description available.
FLOAT (3):
    No description available.
DOUBLE (4):
    No description available.
INT8 (5):
    No description available.
INT16 (6):
    No description available.
INT32 (7):
    No description available.
INT64 (8):
    No description available.
UINT8 (9):
    No description available.
UINT16 (10):
    No description available.
UINT32 (11):
    No description available.
UINT64 (12):
    No description available.

Methods

DataType

DataType(value)

Data type of the tensor.

Enum values:

DATA_TYPE_UNSPECIFIED (0):
    Not a legal value for DataType. Used to
    indicate a DataType field has not been set.
BOOL (1):
    Data types that all computation devices are
    expected to be capable to support.
STRING (2):
    No description available.
FLOAT (3):
    No description available.
DOUBLE (4):
    No description available.
INT8 (5):
    No description available.
INT16 (6):
    No description available.
INT32 (7):
    No description available.
INT64 (8):
    No description available.
UINT8 (9):
    No description available.
UINT16 (10):
    No description available.
UINT32 (11):
    No description available.
UINT64 (12):
    No description available.