[nfc] Remove unused var causing error downstream

pull/2840/head
Stella Laurenzo 2024-01-30 22:18:13 -08:00
parent 105aad6f57
commit 26c0ecd09c
1 changed files with 0 additions and 2 deletions

View File

@ -707,8 +707,6 @@ void mlir::torch::onnx_c::populateDefaultDomainQtoZ(
selectSizes.push_back(1);
Type selectResultType = axesType.getWithSizesAndDtype(
llvm::ArrayRef(selectSizes), axesType.getOptionalDtype());
Value noneVal = rewriter.create<Torch::ConstantNoneOp>(binder.getLoc());
auto sizes =
dyn_cast<Torch::ValueTensorType>(axes.getType()).getSizes();