axonml-nn
Neural network modules for the Axonml ML framework.
Overview
PyTorch-style neural network building blocks:
- Layers - Linear, Conv1d/2d, BatchNorm, LayerNorm, Dropout
- Recurrent - RNN, LSTM, GRU
- Attention - MultiHeadAttention
- Activations - ReLU, Sigmoid, Tanh, GELU, SiLU
- Loss Functions - MSE, CrossEntropy, BCE, L1
Usage
use ;
let model = new
.add
.add
.add;
let output = model.forward;
Part of Axonml
This crate is part of the Axonml ML framework.
License
MIT OR Apache-2.0