Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/examples
/ __init__
Method
__init__
fx/wrap_output_dynamically.py:22–23 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
20
# Sample module
21
class
M(torch.nn.Module):
22
def
__init__(self):
23
super().__init__()
24
25
def
forward(self, x, y):
26
y = torch.cat([x, y])
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected