Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/rushter/MLAlgorithms
/ setup
Method
setup
mla/neuralnet/layers/basic.py:12–14 ·
view source on GitHub ↗
Allocates initial weights.
(self, X_shape)
Source
from the content-addressed store, hash-verified
10
11
class
Layer(object):
12
def
setup(self, X_shape):
13
""
"Allocates initial weights."
""
14
pass
15
16
def
forward_pass(self, x):
17
raise
NotImplementedError()
Callers
1
setup
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected