Descriptor for four-dimensional data.
More...
#include <NvInferLegacyDims.h>
|
|
| Dims4 () |
| | Construct an empty Dims4 object.
|
| |
| | Dims4 (int32_t d0, int32_t d1, int32_t d2, int32_t d3) |
| | Construct a Dims4 from 4 elements. More...
|
| |
|
|
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 four-dimensional data.
◆ Dims4()
| nvinfer1::Dims4::Dims4 |
( |
int32_t |
d0, |
|
|
int32_t |
d1, |
|
|
int32_t |
d2, |
|
|
int32_t |
d3 |
|
) |
| |
|
inline |
Construct a Dims4 from 4 elements.
- Parameters
-
| d0 | The first element. |
| d1 | The second element. |
| d2 | The third element. |
| d3 | The fourth element. |
The documentation for this class was generated from the following file: