Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ __init__
Method
__init__
test/python/test_onnx.py:1977–1980 ·
view source on GitHub ↗
(self, conv1, conv2)
Source
from the content-addressed store, hash-verified
1975
class
MyLayer(layer.Layer):
1976
1977
def
__init__(self, conv1, conv2):
1978
super(MyLayer, self).__init__()
1979
self.conv1 = conv1
1980
self.conv2 = conv2
1981
1982
def
forward(self, inputs):
1983
x = self.conv1(inputs)
Callers
1
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected