Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rushter/MLAlgorithms
/ weight
Method
weight
mla/neuralnet/layers/basic.py:75–77 ·
view source on GitHub ↗
(self, X)
Source
from the content-addressed store, hash-verified
73
return
self.weight(X)
74
75
def
weight(self, X):
76
W = np.dot(X, self._params[
"W"
])
77
return
W + self._params[
"b"
]
78
79
def
backward_pass(self, delta):
80
dW = np.dot(self.last_input.T, delta)
Callers
1
forward_pass
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected