Descriptor for three-dimensional data. More...
Public Member Functions | |
Dims3 () | |
Construct an empty Dims3 object. More... | |
Dims3 (int32_t d0, int32_t d1, int32_t d2) | |
Construct a Dims3 from 3 elements. More... | |
__attribute__ ((deprecated)) DimensionType type[MAX_DIMS] | |
The type of each dimension, provided for backwards compatibility. More... | |
Public Attributes | |
int32_t | nbDims |
The number of dimensions. More... | |
int32_t | d [MAX_DIMS] |
The extent of each dimension. More... | |
Static Public Attributes | |
static const int32_t | MAX_DIMS = 8 |
The maximum number of dimensions supported for a tensor. More... | |
Descriptor for three-dimensional data.
|
inline |
Construct an empty Dims3 object.
|
inline |
Construct a Dims3 from 3 elements.
d0 | The first element. |
d1 | The second element. |
d2 | The third element. |
|
inherited |
The type of each dimension, provided for backwards compatibility.
and will be removed in TensorRT 8.0.
|
staticinherited |
The maximum number of dimensions supported for a tensor.
|
inherited |
The number of dimensions.
|
inherited |
The extent of each dimension.