Trait corgi::layer::Layer [−][src]
A layer of a neural network, which implements a forward, and backward pass.
Required methods
fn forward(&self, x: Array) -> Array
[src]
Computes the forward pass of the layer.
fn parameters(&mut self) -> Vec<&mut Array>
[src]
Retrieves the parameters of the layer.