[CPU] Adding missing brackets in native MaxUnpool log (#163039)

As stated in the title.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/163039
Approved by: https://github.com/Skylion007
This commit is contained in:
can-gaa-hou
2025-09-16 21:28:11 +00:00
committed by PyTorch MergeBot
parent 489860f3c2
commit f6ea41ead2

View File

@ -85,11 +85,11 @@ void cpu_max_unpool(
if constexpr (is_3d) {
TORCH_CHECK(false, "Found an invalid max index: ", optional_error_index.value(),
" (output volumes are of size ", output_depth,
"x", output_height, "x", output_width);
"x", output_height, "x", output_width, ")");
} else {
TORCH_CHECK(false, "Found an invalid max index: ", optional_error_index.value(),
" (output volumes are of size ", output_height,
"x", output_width);
"x", output_width, ")");
}
}