File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
lib/Conversion/TorchOnnxToTorch Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -669,15 +669,8 @@ void mlir::torch::onnx_c::populateDefaultDomainQtoZ(
669669 }
670670 return success ();
671671 }
672- Value zero = rewriter.create <Torch::ConstantIntOp>(
673- binder.getLoc (), rewriter.getType <Torch::IntType>(),
674- rewriter.getIntegerAttr (rewriter.getIntegerType (64 ), 0 ));
675672 int64_t adjustmentInt =
676673 cast<Torch::ValueTensorType>(data.getType ()).getSizes ().size ();
677- Value adjustment = rewriter.create <Torch::ConstantIntOp>(
678- binder.getLoc (), rewriter.getType <Torch::IntType>(),
679- rewriter.getIntegerAttr (rewriter.getIntegerType (64 ),
680- adjustmentInt));
681674 // convert axes (tensor) into torch int list while dealing with neg axis
682675 for (int i = 0 ; i < axes.size (); i++) {
683676 // Go through the axes list and get each dim in the list
You can’t perform that action at this time.
0 commit comments