TensorRT
TensorRT copied to clipboard
Is NCHW the only supported input layout for IConvolutionLayer in TensorRT?
I’m working with TensorRT and need to use IConvolutionLayer. I would like to know if the input tensor is required to be in NCHW format, or if it’s possible to specify a different layout such as NHWC. If custom layouts are supported, how can they be set for the layer? I’m using TensorRT version 10.2. Any clarification would be appreciated!
You could use IShuffleLayer to permute the axes of the input tensor into NCHW.