Skip to content

Commit 6f0e265

Browse files
authored
Update _Input.py (#2293)
1 parent f8bcbdd commit 6f0e265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/torch_tensorrt/_Input.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def _parse_format(format: Any) -> _enums.TensorFormat:
265265
return _enums.TensorFormat.channels_last
266266
else:
267267
raise ValueError(
268-
"Provided an unsupported tensor format (support: NHCW/contiguous_format, NHWC/channel_last)"
268+
"Provided an unsupported tensor format (support: NCHW/contiguous_format, NHWC/channel_last)"
269269
)
270270

271271
elif isinstance(format, _enums.TensorFormat):

0 commit comments

Comments
 (0)