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