MCPcopy 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
15def forward(x):
16 return w * x
17
18# loss = MSE
19def loss(y, y_pred):

Calls

no outgoing calls

Tested by

no test coverage detected