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(
45
45
46
46
if sub_graph .OperatorsLength () == 0 :
47
47
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 (),
49
50
)
50
51
elif sub_graph .OperatorsLength () > 1 :
51
52
builtin_operators_map : dict [int , str ] = {
@@ -61,7 +62,8 @@ def extract_artifacts_from_neutron_node(
61
62
62
63
raise RuntimeError (
63
64
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 (),
65
67
)
66
68
67
69
neutron_node = None
You can’t perform that action at this time.
0 commit comments