You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* debug all outputs python script doesn't debug final outputs anymore
* update onnx example model
* add link to onnx standard motivating omitting final graph output debug operators
# remove final graph outputs (see the definition of graph outputs in the onnx standard: https://github.com/onnx/onnx/blob/master/docs/IR.md#user-content-graphs)
22
+
# it would be invalid to add debug operators after the final graph outputs since execution must be finished once all outputs are written to
23
+
foroutputinmodel.graph.output:
24
+
intermediate_outputs.remove(output.name)
25
+
21
26
# create a debug operator that consumes each intermediate output
22
27
# debug operator file path attribute is constructed by the name of the intermediate output
0 commit comments