Descriptor for two-dimensional spatial data.
More...
#include <NvInferLegacyDims.h>
|
int32_t | nbDims |
| The number of dimensions.
|
|
int32_t | d [MAX_DIMS] |
| The extent of each dimension.
|
|
static constexpr int32_t | MAX_DIMS {8} |
| The maximum number of dimensions supported for a tensor.
|
|
Descriptor for two-dimensional spatial data.
◆ DimsHW()
nvinfer1::DimsHW::DimsHW |
( |
int32_t |
height, |
|
|
int32_t |
width |
|
) |
| |
|
inline |
Construct a DimsHW given height and width.
- Parameters
-
height | the height of the data |
width | the width of the data |
◆ h() [1/2]
int32_t& nvinfer1::DimsHW::h |
( |
| ) |
|
|
inline |
Get the height.
- Returns
- The height.
◆ h() [2/2]
int32_t nvinfer1::DimsHW::h |
( |
| ) |
const |
|
inline |
Get the height.
- Returns
- The height.
◆ w() [1/2]
int32_t& nvinfer1::DimsHW::w |
( |
| ) |
|
|
inline |
Get the width.
- Returns
- The width.
◆ w() [2/2]
int32_t nvinfer1::DimsHW::w |
( |
| ) |
const |
|
inline |
Get the width.
- Returns
- The width.
The documentation for this class was generated from the following file: