File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ def extract_artifacts_from_neutron_node(
4545
4646 if sub_graph .OperatorsLength () == 0 :
4747 raise RuntimeError (
48- "Model converted with neutron-converter has `0` operators instead of `1`."
48+ "Model converted with neutron-converter has `0` operators instead of `1`." ,
49+ sub_graph .OperatorsLength (),
4950 )
5051 elif sub_graph .OperatorsLength () > 1 :
5152 builtin_operators_map : dict [int , str ] = {
@@ -61,7 +62,8 @@ def extract_artifacts_from_neutron_node(
6162
6263 raise RuntimeError (
6364 f"Model converted with neutron-converter has `{ sub_graph .OperatorsLength ()} ` operators "
64- f'instead of `1`. Operators found: { ", " .join (ops_found )} .'
65+ f'instead of `1`. Operators found: { ", " .join (ops_found )} .' ,
66+ sub_graph .OperatorsLength (),
6567 )
6668
6769 neutron_node = None
You can’t perform that action at this time.
0 commit comments