NodeEventTracker#
- class torch.fx.passes.splitter_base.NodeEventTracker(tracker_mode, dump_prefix)[source]#
Tracks node events during the splitter execution.
Warning
This API is experimental and is NOT backward-compatible.
- dump()[source]#
Function to be invoked at the end of the finder execution to printout tracked events specified by the mode.
- print_all(writer=None)[source]#
Print all nodes in a list. @param writer: function to write to file. If None, use print.