Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRL-Lab/Wandb_Tutorial
/ forward
Method
forward
basic/test_pytorch.py:20–23 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
18
self.oupt = torch.nn.Linear(7, 3)
19
20
def
forward(self, x):
21
z = torch.tanh(self.hid1(x))
22
z = self.oupt(z)
23
return
z
24
25
26
def
parse(args):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected