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: