Struct corgi::model::Model [−][src]
pub struct Model<'a> { /* fields omitted */ }
Expand description
A neural network model, containing the layers of the model, and the outputs.
Implementations
Constructs a new model given the layers.
Computes the forward pass of a model. The input should have the dimensions batch size by input size.
Computes the backward pass of a model, and updates parameters.