TensorRT
7.0.0.11
|
Descriptor for two-dimensional data. More...
#include <NvInfer.h>
Public Member Functions | |
Dims2 () | |
Construct an empty Dims2 object. | |
Dims2 (int d0, int d1) | |
Construct a Dims2 from 2 elements. More... | |
Additional Inherited Members | |
Public Attributes inherited from nvinfer1::Dims | |
int | nbDims |
The number of dimensions. | |
int | d [MAX_DIMS] |
The extent of each dimension. | |
TRT_DEPRECATED DimensionType | type [MAX_DIMS] |
The type of each dimension. | |
Static Public Attributes inherited from nvinfer1::Dims | |
static const int | MAX_DIMS = 8 |
The maximum number of dimensions supported for a tensor. | |
Descriptor for two-dimensional data.
|
inline |
Construct a Dims2 from 2 elements.
d0 | The first element. |
d1 | The second element. |