1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
Appellation: store <module>
Contrib: @FL03
*/
use ParamsBase;
use ;
use crateRawHidden;
/// The [`ModelParamsBase`] object is a generic container for storing the parameters of a
/// neural network, regardless of the layout (e.g. shallow or deep). This is made possible
/// through the introduction of a generic hidden layer type, `H`, that allows us to define
/// aliases and additional traits for contraining the hidden layer type. Additionally, the
/// structure enables the introduction of common accessors and initialization routines.
///
/// With that in mind, we don't reccomend using the implementation directly, rather, leverage
/// a type alias that best suites your use case (e.g. owned parameters, arc parameters, etc.).