Commit 6367ad7d authored by shssf's avatar shssf Committed by Scott Cyphers

nbench. Fix exception handler output. (#1713)

parent e0434a9b
......@@ -387,11 +387,11 @@ OPTIONS
print_results(perf_shape, timing_detail);
}
}
catch (ngraph::unsupported_op ue)
catch (ngraph::unsupported_op& ue)
{
cout << "Unsupported op '" << ue.what() << "' in model " << model << endl;
}
catch (exception e)
catch (exception& e)
{
cout << "Exception caught on '" << model << "'\n" << e.what() << endl;
}
......
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