Descriptor for two-dimensional data.
More...
#include <NvInferLegacyDims.h>
|
int32_t | nbDims |
| The rank (number of dimensions).
|
|
int32_t | d [MAX_DIMS] |
| The extent of each dimension.
|
|
static constexpr int32_t | MAX_DIMS {8} |
| The maximum rank (number of dimensions) supported for a tensor.
|
|
Descriptor for two-dimensional data.
◆ Dims2()
nvinfer1::Dims2::Dims2 |
( |
int32_t |
d0, |
|
|
int32_t |
d1 |
|
) |
| |
|
inline |
Construct a Dims2 from 2 elements.
- Parameters
-
d0 | The first element. |
d1 | The second element. |
The documentation for this class was generated from the following file: