Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ forward
Method
forward
examples/cifar_distributed_cnn/model/xceptionnet.py:269–272 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
267
return
x
268
269
def
forward(self, x):
270
x = self.features(x)
271
x = self.logits(x)
272
return
x
273
274
def
train_one_batch(self, x, y, dist_option, spars):
275
out = self.forward(x)
Callers
1
train_one_batch
Method · 0.95
Calls
2
features
Method · 0.95
logits
Method · 0.95
Tested by
no test coverage detected