TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
nvinfer1::Permutation Struct Reference
Collaboration diagram for nvinfer1::Permutation:

Public Attributes

int32_t order [Dims::MAX_DIMS]
 The elements of the permutation. More...
 

Member Data Documentation

◆ order

int32_t nvinfer1::Permutation::order[Dims::MAX_DIMS]

The elements of the permutation.

The permutation is applied as outputDimensionIndex = permutation.order[inputDimensionIndex], so to permute from CHW order to HWC order, the required permutation is [1, 2, 0], and to permute from HWC to CHW, the required permutation is [2, 0, 1].


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