TensorRT  7.0.0.11
nvinfer1::Dims4 Class Reference

Descriptor for four-dimensional data. More...

#include <NvInfer.h>

Inheritance diagram for nvinfer1::Dims4:
nvinfer1::Dims nvinfer1::DimsNCHW

Public Member Functions

 Dims4 ()
 Construct an empty Dims2 object.
 
 Dims4 (int d0, int d1, int d2, int d3)
 Construct a Dims4 from 4 elements. More...
 

Additional Inherited Members

- Public Attributes inherited from nvinfer1::Dims
int nbDims
 The number of dimensions.
 
int d [MAX_DIMS]
 The extent of each dimension.
 
TRT_DEPRECATED DimensionType type [MAX_DIMS]
 The type of each dimension.
 
- Static Public Attributes inherited from nvinfer1::Dims
static const int MAX_DIMS = 8
 The maximum number of dimensions supported for a tensor.
 

Detailed Description

Descriptor for four-dimensional data.

Constructor & Destructor Documentation

nvinfer1::Dims4::Dims4 ( int  d0,
int  d1,
int  d2,
int  d3 
)
inline

Construct a Dims4 from 4 elements.

Parameters
d0The first element.
d1The second element.
d2The third element.
d3The fourth element.

The documentation for this class was generated from the following file: