1#[cfg(any(feature = "alloc", feature = "std"))]
6pub use self::types::*;
7pub use self::{dropout::*, error::ModelError, model::prelude::*};
8
9pub mod dropout;
10pub mod error;
11pub mod mask;
12pub mod model;
13
14pub(crate) mod prelude {
15 pub use super::dropout::*;
16 pub use super::error::*;
17 pub use super::mask::prelude::*;
18 pub use super::model::prelude::*;
19}
20
21#[cfg(any(feature = "alloc", feature = "std"))]
22mod types {
23 use crate::rust::Box;
24 use nd::prelude::Array2;
25
26 pub type ForwardDyn<T = Array2<f64>, O = T> = Box<dyn crate::Forward<T, Output = O>>;
27}
28
29#[cfg(test)]
30mod tests {}