MCPcopy Create free account
hub / github.com/rushter/MLAlgorithms / forward_pass

Method forward_pass

mla/neuralnet/layers/basic.py:99–101  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

97 self.activation_d = elementwise_grad(self.activation)
98
99 def forward_pass(self, X):
100 self.last_input = X
101 return self.activation(X)
102
103 def backward_pass(self, delta):
104 return self.activation_d(self.last_input) * delta

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected