Module leaf::layers [] [src]

Provides the fundamental units of computation in a Neural Network.

These layers provide different type of operations to the data Blobs that flow through them. The operations provided by the layers are grouped into five categories:

For more information about how these layers work together, see the documentation for the general Layer module.

Reexports

pub use self::activation::{ReLU, Sigmoid, TanH};
pub use self::common::{Linear, LinearConfig, LogSoftmax, Softmax};
pub use self::loss::{NegativeLogLikelihood, NegativeLogLikelihoodConfig};
pub use self::utility::{Flatten, Reshape, ReshapeConfig};
pub use self::container::{Sequential, SequentialConfig};

Modules

activation

Provides nonlinear activation methods.

common

Provides common neural network layers.

container

Provides container layers.

loss

Provides methods to calculate the loss (cost) of some output.

utility

Provides various helpful layers, which might be not directly related to neural networks in general.