MCPcopy Index your code
hub / github.com/pytorch/examples / module_tracer.py

File module_tracer.py

fx/module_tracer.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2Recording Module Hierarchy With a Custom Tracer
3
4In this example, we are going to define a custom `fx.Tracer` instance that--

Callers

nothing calls this directly

Calls 2

ModulePathTracerClass · 0.85
traceMethod · 0.80

Tested by

no test coverage detected