Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hunkim/PyTorchZeroToAll
/ forward
Function
forward
01_basics.py:9–10 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
7
8
# our model for the forward pass
9
def
forward(x):
10
return
x * w
11
12
13
# Loss function
Callers
2
loss
Function · 0.70
01_basics.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected