|
TensorRT 8.6.10
|
Descriptor for two-dimensional data. More...
#include <NvInferLegacyDims.h>
Public Member Functions | |
| Dims2 () | |
| Construct an empty Dims2 object. More... | |
| Dims2 (int32_t d0, int32_t d1) | |
| Construct a Dims2 from 2 elements. More... | |
Additional Inherited Members | |
Public Attributes inherited from nvinfer1::Dims32 | |
| int32_t | nbDims |
| The rank (number of dimensions). More... | |
| int32_t | d [MAX_DIMS] |
| The extent of each dimension. More... | |
Static Public Attributes inherited from nvinfer1::Dims32 | |
| static constexpr int32_t | MAX_DIMS {8} |
| The maximum rank (number of dimensions) supported for a tensor. More... | |
Descriptor for two-dimensional data.
|
inline |
Construct an empty Dims2 object.
|
inline |
Construct a Dims2 from 2 elements.
| d0 | The first element. |
| d1 | The second element. |