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