mlx_rs/nn/
mod.rs

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
38
#![deny(missing_docs, missing_debug_implementations)]

//! Neural network support for MLX
//!
//! All modules provide a `new()` function that take mandatory parameters and other methods
//! to set optional parameters.

mod activation;
mod container;
mod convolution;
mod convolution_transpose;
mod dropout;
mod embedding;
mod linear;
mod normalization;
mod pooling;
mod positional_encoding;
mod quantized;
mod recurrent;
mod transformer;
mod upsample;
mod value_and_grad;

pub use activation::*;
pub use container::*;
pub use convolution::*;
pub use convolution_transpose::*;
pub use dropout::*;
pub use embedding::*;
pub use linear::*;
pub use normalization::*;
pub use pooling::*;
pub use positional_encoding::*;
pub use quantized::*;
pub use recurrent::*;
pub use transformer::*;
pub use upsample::*;
pub use value_and_grad::*;