Source code for pylearn.neural_network.layer

[docs] class Layer: """ An abstract base class for neural network layers. Defines the basic properties and methods that can be used by all derived layers. """ def __init__(self) -> None: pass
[docs] def forward_pass(self, input) -> None: pass
[docs] def backpropagation(self, output_gradient, learning_rate) -> None: pass