mirror of https://github.com/llvm/torch-mlir
Minor typo fix: in not implemented message for the exclusive and reverse attributes for cumsum (#2740)
parent
29569713f3
commit
aee1fca251
|
@ -952,11 +952,11 @@ void mlir::torch::onnx_c::populateDefaultDomainAtoF(
|
|||
int64_t exclusive;
|
||||
int64_t reverse;
|
||||
// if bind succeeds and either is set, fail because not implemented
|
||||
if (binder.s64IntegerAttr(exclusive, "exclusive", 0))
|
||||
if (!binder.s64IntegerAttr(exclusive, "exclusive", 0))
|
||||
if (exclusive != 0)
|
||||
return rewriter.notifyMatchFailure(
|
||||
binder.op, "unsupported onnx.CumSum conversion: exclusive");
|
||||
if (binder.s64IntegerAttr(reverse, "reverse", 0))
|
||||
if (!binder.s64IntegerAttr(reverse, "reverse", 0))
|
||||
if (reverse != 0)
|
||||
return rewriter.notifyMatchFailure(
|
||||
binder.op, "unsupported onnx.CumSum conversion: reverse");
|
||||
|
|
Loading…
Reference in New Issue