MCPcopy 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
51class MyModel(model.Model):

Callers

nothing calls this directly

Calls 2

l1Method · 0.45
l2Method · 0.45

Tested by

no test coverage detected