concision_core/models/
mod.rs

1/*
2    appellation: params <module>
3    authors: @FL03
4*/
5//! this module works to provide a common interface for storing sets of parameters within a
6//! given model. The [`ModelParamsBase`] implementation generically captures the behavior of
7//! parameter storage, relying on the [`ParamsBase`](concision_params::ParamsBase) instance to represent
8//! individual layers within the network.
9#[doc(inline)]
10pub use self::{layout::*, model_params::*, traits::*, types::*};
11
12pub mod layout;
13pub mod model_params;
14
15mod impls {
16    mod impl_model_params;
17    mod impl_params_deep;
18    mod impl_params_shallow;
19
20    #[cfg(feature = "rand")]
21    mod impl_model_params_rand;
22    #[cfg(feature = "serde")]
23    mod impl_model_params_serde;
24}
25
26mod types {
27    pub use self::aliases::*;
28
29    mod aliases;
30}
31
32mod traits {
33    pub use self::{format::*, hidden::*};
34
35    mod format;
36    mod hidden;
37}
38
39#[doc(hidden)]
40pub(crate) mod prelude {
41    pub use super::layout::*;
42    pub use super::model_params::*;
43    pub use super::traits::*;
44    pub use super::types::*;
45}