MCPcopy Create free account
hub / github.com/apache/singa / forward

Method forward

test/python/test_model.py:92–96  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

90 self.softmax_cross_entropy = layer.SoftMaxCrossEntropy()
91
92 def forward(self, inputs):
93 y = self.linear1(inputs)
94 y = self.relu(y)
95 y = self.linear2(y)
96 return y
97
98 def train_one_batch(self, x, y):
99 out = self.forward(x)

Callers 1

train_one_batchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected