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.

Updates all parameters of the model.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.