Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChristianInterno/ReStraV
/ forward
Method
forward
demo.py:21–22 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
19
nn.Linear(h2, 1)
20
)
21
def
forward(self, x):
22
return
self.net(x)
23
24
25
device = torch.device(
"cuda"
if
torch.cuda.is_available()
else
"cpu"
)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected