Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/tutorials
/ forward
Method
forward
recipes_source/debug_mode_tutorial.py:260–261 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
258
self.xyz = torch.nn.Linear(4, 4)
259
260
def
forward(self, x):
261
return
self.xyz(self.abc(x))
262
263
mod = Bar()
264
inp = torch.randn(4, 4)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected