From f6ea41ead27205a5ece3e9a41b7af30fafe67d7a Mon Sep 17 00:00:00 2001 From: can-gaa-hou Date: Tue, 16 Sep 2025 21:28:11 +0000 Subject: [PATCH] [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 --- aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp b/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp index c775bc756145..fca7d8bdce5a 100644 --- a/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp +++ b/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp @@ -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, ")"); } }