Descriptor for two-dimensional spatial data.
More...
|
static const int32_t | MAX_DIMS = 8 |
| The maximum 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 |
( |
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.
◆ __attribute__()
nvinfer1::Dims::__attribute__ |
( |
(deprecated) |
| ) |
|
|
inherited |
The type of each dimension, provided for backwards compatibility.
and will be removed in TensorRT 8.0.
◆ MAX_DIMS
const int32_t nvinfer1::Dims::MAX_DIMS = 8 |
|
staticinherited |
The maximum number of dimensions supported for a tensor.
◆ nbDims
int32_t nvinfer1::Dims::nbDims |
|
inherited |
The number of dimensions.
The extent of each dimension.
The documentation for this class was generated from the following file: