Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rushter/MLAlgorithms
/ setup
Method
setup
mla/neuralnet/layers/basic.py:68–69 ·
view source on GitHub ↗
(self, x_shape)
Source
from the content-addressed store, hash-verified
66
self._params = Parameters()
67
68
def
setup(self, x_shape):
69
self._params.setup_weights((x_shape[1], self.output_dim))
70
71
def
forward_pass(self, X):
72
self.last_input = X
Callers
nothing calls this directly
Calls
1
setup_weights
Method · 0.80
Tested by
no test coverage detected