(self, name)
| 91 | |
| 92 | class Activation(Layer): |
| 93 | def __init__(self, name): |
| 94 | self.last_input = None |
| 95 | self.activation = get_activation(name) |
| 96 | # Derivative of activation function |
| 97 | self.activation_d = elementwise_grad(self.activation) |
| 98 | |
| 99 | def forward_pass(self, X): |
| 100 | self.last_input = X |
nothing calls this directly
no test coverage detected