Expand description
This module provides the scaffolding for creating models and layers in a neural network.
Modules§
Structs§
- Model
Features - The
ModelFeaturesprovides a common way of defining the layout of a model. This is used to define the number of input features, the number of hidden layers, the number of hidden features, and the number of output features. - Model
Params Base - This object is an abstraction over the parameters of a deep neural network model. This is done to isolate the necessary parameters from the specific logic within a model allowing us to easily create additional stores for tracking velocities, gradients, and other metrics we may need.
- Standard
Model Config - Trainer
Traits§
- Deep
Neural Network - The
DeepNeuralNetworktrait is a specialization of theModeltrait that provides additional functionality for deep neural networks. This trait is - Model
- The base interface for all models; each model provides access to a configuration object
defined as the associated type
Config. The configuration object is used to provide hyperparameters and other control related parameters. In addition, the model’s layout is defined by thefeaturesmethod which aptly returns a copy of its ModelFeatures object. - Model
Ext - Model
Layout - Model
Trainer