MCPcopy
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
9def forward(x):
10 return x * w
11
12
13# Loss function

Callers 2

lossFunction · 0.70
01_basics.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected