Skip to content

Commit

Permalink
[nfc] Remove unused var causing error downstream
Browse files Browse the repository at this point in the history
  • Loading branch information
stellaraccident committed Jan 31, 2024
1 parent 105aad6 commit 26c0ecd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Conversion/TorchOnnxToTorch/DefaultDomainQtoZ.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 26c0ecd

Please sign in to comment.