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