We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8bcbdd commit 6f0e265Copy full SHA for 6f0e265
py/torch_tensorrt/_Input.py
@@ -265,7 +265,7 @@ def _parse_format(format: Any) -> _enums.TensorFormat:
265
return _enums.TensorFormat.channels_last
266
else:
267
raise ValueError(
268
- "Provided an unsupported tensor format (support: NHCW/contiguous_format, NHWC/channel_last)"
+ "Provided an unsupported tensor format (support: NCHW/contiguous_format, NHWC/channel_last)"
269
)
270
271
elif isinstance(format, _enums.TensorFormat):
0 commit comments