Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/patrickloeber/pytorchTutorial
/ forward
Function
forward
05_1_gradientdescent_manually.py:15–16 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
13
14
# model output
15
def
forward(x):
16
return
w * x
17
18
# loss = MSE
19
def
loss(y, y_pred):
Callers
1
05_1_gradientdescent_manually.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected