NHWC inputs/outputs

Hello, could you please tell me, does TensorRT support NHWC inputs without internal forced transpose of inputs? If not, why?

Internally all convolutions are NHWC anyway for Tensor Cores so why is there a NCHW input requirement?
Can we have a simple flag that disables the internal transpose of inputs and outputs?

TensorRT supports both NHCW and NCHW. It automatically taken care by TRT,
TRT internally tries all kinds of tensor layouts.

TensorRT supports NHWC inputs?

Please refer,

Thank you. How do i specify that the input to the network is in NHWC format?

You can use “setAllowedFormats” API for input tensor, see on NvInfer.h