NodeEventTracker
- class torch.fx.passes.splitter_base.NodeEventTracker(tracker_mode, dump_prefix)
Tracks node events during the splitter execution.
Tracks node events during the splitter execution.
Add a new event to the tracker.
Function to be invoked at the end of the finder execution to printout tracked events specified by the mode.
Print all nodes in a list. @param writer: function to write to file. If None, use print.
Print a node and its events. @param recursive: if True, print nodes that caused the events on this current node. @param tab: Indentation for dependencies. @param writer: function to write to file. If None, use print.