mirror of https://github.com/llvm/torch-mlir
reduce some min opset versions
parent
06d17897f0
commit
4ebe197de9
|
@ -1524,7 +1524,7 @@ void mlir::torch::onnx_c::populateDefaultDomainGtoP(
|
||||||
|
|
||||||
return success();
|
return success();
|
||||||
});
|
});
|
||||||
patterns.onOp("Greater", 16,
|
patterns.onOp("Greater", 7,
|
||||||
[](OpBinder binder, ConversionPatternRewriter &rewriter) {
|
[](OpBinder binder, ConversionPatternRewriter &rewriter) {
|
||||||
Torch::ValueTensorType resultType;
|
Torch::ValueTensorType resultType;
|
||||||
Value lhs, rhs;
|
Value lhs, rhs;
|
||||||
|
@ -1931,7 +1931,7 @@ void mlir::torch::onnx_c::populateDefaultDomainGtoP(
|
||||||
return success();
|
return success();
|
||||||
});
|
});
|
||||||
patterns.onOp(
|
patterns.onOp(
|
||||||
"Gather", 13, [](OpBinder binder, ConversionPatternRewriter &rewriter) {
|
"Gather", 1, [](OpBinder binder, ConversionPatternRewriter &rewriter) {
|
||||||
Torch::ValueTensorType resultType;
|
Torch::ValueTensorType resultType;
|
||||||
Value data, indices;
|
Value data, indices;
|
||||||
int64_t axis;
|
int64_t axis;
|
||||||
|
|
Loading…
Reference in New Issue