TensorRT 8.5.3

#include <NvInfer.h>
Public Attributes  
int32_t  order [Dims::MAX_DIMS] 
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].