I need to perform following operation (PyTorch example)
prediction = x.view( batch_size, num_anchors, 85, grid_height, grid_width).permute(0, 1, 3, 4, 2).contiguous()
Basically it is transforming a [1x255x13x13] tensor into [1x3x13x13x85] tensor. Is there any way I can do this operation using TensorRT Python API?