We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38a0a5a commit fee88fdCopy full SHA for fee88fd
lib/Conversion/TorchOnnxToTorch/DefaultDomainQtoZ.cpp
@@ -3331,8 +3331,8 @@ void mlir::torch::onnx_c::populateDefaultDomainQtoZ(
3331
3332
if (mode != "nearest" && mode != "linear")
3333
return rewriter.notifyMatchFailure(
3334
- binder.op, "unsupported interpolation mode other than nearest, "
3335
- "linear");
+ binder.op,
+ R"(Expected valid interpolation mode: "nearest" | "linear")");
3336
3337
int64_t resultRank = resultType.getSizes().size();
3338
if (resultRank > 5)
0 commit comments