Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ forward
Method
forward
examples/onnx/resnet18.py:62–64 ·
view source on GitHub ↗
(self, *x)
Source
from the content-addressed store, hash-verified
60
super(MyModel, self).__init__(onnx_model)
61
62
def
forward(self, *x):
63
y = super(MyModel, self).forward(*x)
64
return
y[0]
65
66
def
train_one_batch(self, x, y):
67
pass
Callers
1
resnet18.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected