Commit 3f66a1ed authored by Paul's avatar Paul
Browse files

Improve error message for unknow onnx operator

parent ef7aa280
...@@ -29,7 +29,7 @@ struct unknown ...@@ -29,7 +29,7 @@ struct unknown
} }
argument compute(context&, shape, std::vector<argument>) const argument compute(context&, shape, std::vector<argument>) const
{ {
MIGRAPH_THROW("not computable"); MIGRAPH_THROW(name() + ": not computable");
} }
friend std::ostream& operator<<(std::ostream& os, const unknown& x) friend std::ostream& operator<<(std::ostream& os, const unknown& x)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment