Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/examples
/ M2
Class
M2
fx/custom_tracer.py:94–96 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
92
""
"
93
94
class
M2(torch.nn.Module):
95
def
forward(self, a, b):
96
return
a + b
97
98
class
TaggingTracer(Tracer):
99
def
create_node(self, kind : str, target : Union[str, Callable],
Callers
1
custom_tracer.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected