Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ forward
Method
forward
test/python/test_model.py:45–48 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
43
self.l2 = layer.Linear(b, c)
44
45
def
forward(self, x):
46
y = self.l1(x)
47
y = self.l2(y)
48
return
y
49
50
51
class
MyModel(model.Model):
Callers
nothing calls this directly
Calls
2
l1
Method · 0.45
l2
Method · 0.45
Tested by
no test coverage detected