pub struct BaseNeuralNet<T: Criterion> { /* private fields */ }
Expand description

Base Neural Network struct

This struct cannot be instantiated and is used internally only.

Trait Implementations

Formats the value using the given formatter. Read more

Compute the gradient of the Neural Network using the back propagation algorithm.

Compute the gradient of the neural network.

The input data type to the model.
The target data type to 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

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.