TensorRT
6.0.1.5

Public Attributes  
int  order [Dims::MAX_DIMS] 
int 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].