From 5b0f584befa9cc936b27522a886fda439e77c5ae Mon Sep 17 00:00:00 2001 From: Naren Dasan Date: Tue, 23 Feb 2021 14:06:33 -0800 Subject: [PATCH] fix(aten::expand): Fix compiler warning for unused out ITensor Signed-off-by: Naren Dasan Signed-off-by: Naren Dasan --- core/conversion/converters/impl/expand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/conversion/converters/impl/expand.cpp b/core/conversion/converters/impl/expand.cpp index c7731d3a76..c6201789c6 100644 --- a/core/conversion/converters/impl/expand.cpp +++ b/core/conversion/converters/impl/expand.cpp @@ -281,7 +281,7 @@ auto expand_registrations TRTORCH_UNUSED = auto out = ctx->AssociateValueAndTensor(n->outputs()[0], in); - LOG_DEBUG("Repeat layer output tensor shape: " << in->getDimensions()); + LOG_DEBUG("Repeat layer output tensor shape: " << out->getDimensions()); return true; }});