DataType
- tensorrt.DataType
Represents data types.
- itemsize
int
The size in bytes of thisDataType
.
Members:
FLOAT : Represents a 32-bit floating point number.
HALF : Represents a 16-bit floating point number.
INT8 : Represents an 8-bit integer.
INT32 : Represents a 32-bit integer.
BOOL : Represents a boolean.
TensorRT also exposes some short-hand, NumPy-style DataType
aliases that can be used across the library:
Type |
Alias |
|
|
|
|
|
|
|
|
|
|