50#ifndef NV_INFER_LEGACY_DIMS_H
51#define NV_INFER_LEGACY_DIMS_H
118 :
Dims2(height, width)
185 Dims3(int32_t d0, int32_t d1, int32_t d2)
186 :
Dims{3, {d0, d1, d2}}
214 Dims4(int32_t d0, int32_t d1, int32_t d2, int32_t d3)
215 :
Dims{4, {d0, d1, d2, d3}}
Descriptor for two-dimensional data.
Definition: NvInferLegacyDims.h:74
Dims2(int32_t d0, int32_t d1)
Construct a Dims2 from 2 elements.
Definition: NvInferLegacyDims.h:90
Dims2()
Construct an empty Dims2 object.
Definition: NvInferLegacyDims.h:79
Definition: NvInferRuntimeCommon.h:190
Descriptor for three-dimensional data.
Definition: NvInferLegacyDims.h:168
Dims3()
Construct an empty Dims3 object.
Definition: NvInferLegacyDims.h:173
Dims3(int32_t d0, int32_t d1, int32_t d2)
Construct a Dims3 from 3 elements.
Definition: NvInferLegacyDims.h:185
Descriptor for four-dimensional data.
Definition: NvInferLegacyDims.h:196
Dims4()
Construct an empty Dims4 object.
Definition: NvInferLegacyDims.h:201
Dims4(int32_t d0, int32_t d1, int32_t d2, int32_t d3)
Construct a Dims4 from 4 elements.
Definition: NvInferLegacyDims.h:214
Descriptor for two-dimensional spatial data.
Definition: NvInferLegacyDims.h:101
int32_t w() const
Get the width.
Definition: NvInferLegacyDims.h:157
int32_t h() const
Get the height.
Definition: NvInferLegacyDims.h:137
DimsHW()
Construct an empty DimsHW object.
Definition: NvInferLegacyDims.h:106
int32_t & w()
Get the width.
Definition: NvInferLegacyDims.h:147
DimsHW(int32_t height, int32_t width)
Construct a DimsHW given height and width.
Definition: NvInferLegacyDims.h:117
int32_t & h()
Get the height.
Definition: NvInferLegacyDims.h:127
The TensorRT API version 1 namespace.