Commit 50329a59 authored by baojun's avatar baojun Committed by Scott Cyphers

show more info in error (#3817)

parent 3f3153f5
......@@ -109,7 +109,11 @@ namespace ngraph
}
else
{
throw ngraph_error("Cannot convert from an invalid input element type");
NGRAPH_CHECK(false,
"Cannot convert from an invalid input element type : ",
args[0].get_element_type(),
" -> ",
out[0].get_element_type());
}
auto functor = [&, kernel, element_count, arg_buffer_index, out_buffer_index](
......
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