From 033f384bd5777ea8015444aa164fa36cfa0de800 Mon Sep 17 00:00:00 2001 From: "wujiawei.aml" Date: Wed, 30 Oct 2024 16:29:19 +0800 Subject: [PATCH] [chore]: remove unused variable --- lib/Conversion/TorchToStablehlo/GatherScatter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Conversion/TorchToStablehlo/GatherScatter.cpp b/lib/Conversion/TorchToStablehlo/GatherScatter.cpp index d764e9040252..170bfa8c2833 100644 --- a/lib/Conversion/TorchToStablehlo/GatherScatter.cpp +++ b/lib/Conversion/TorchToStablehlo/GatherScatter.cpp @@ -868,7 +868,6 @@ LogicalResult ConvertAtenOp::matchAndRewrite( auto inputTensorType = cast(input.getType()); auto outType = cast(getTypeConverter()->convertType(op.getType())); - auto outShape = outType.getShape(); Value indexList = op.getIndices(); SmallVector indicesTorchType; if (!getListConstructElements(indexList, indicesTorchType))