Descriptor for data with one channel dimension and two spatial dimensions.
More...
#include <NvInfer.h>
Descriptor for data with one channel dimension and two spatial dimensions.
nvinfer1::DimsCHW::DimsCHW |
( |
int |
channels, |
|
|
int |
height, |
|
|
int |
width |
|
) |
| |
|
inline |
Construct a DimsCHW given channel count, height and width.
- Parameters
-
channels | The channel count. |
height | The height of the data. |
width | The width of the data. |
int& nvinfer1::DimsCHW::c |
( |
| ) |
|
|
inline |
Get the channel count.
- Returns
- The channel count.
int nvinfer1::DimsCHW::c |
( |
| ) |
const |
|
inline |
Get the channel count.
- Returns
- The channel count.
int& nvinfer1::DimsCHW::h |
( |
| ) |
|
|
inline |
Get the height.
- Returns
- The height.
int nvinfer1::DimsCHW::h |
( |
| ) |
const |
|
inline |
Get the height.
- Returns
- The height.
int& nvinfer1::DimsCHW::w |
( |
| ) |
|
|
inline |
Get the width.
- Returns
- The width.
int nvinfer1::DimsCHW::w |
( |
| ) |
const |
|
inline |
Get the width.
- Returns
- The width.
The documentation for this class was generated from the following file: