Crate dfdx

source · []
Expand description

Ergonomics & safety focused deep learning in Rust. Main features include:

  1. Tensor library, complete with const generic shapes, activation functions, and more.
  2. Safe & Easy to use neural network building blocks.
  3. Standard deep learning optimizers such as Sgd and Adam.
  4. Reverse mode auto differentiation[1] implementation.

Modules

Collection of traits to describe Nd arrays.

Provides implementations for modifying Nd arrays on the CPU.

Implementations of Gradient tapes and generic gradient containers.

Standard loss functions such as mse, mae, cross entropy, and more.

Neural network building blocks such as Linear and impls for tuples as feedforward networks.

Provides some generic functions to save Nd arrays in the .npy format.

Optimizers such as Sgd and Adam that can optimize neural networks.

Contains all public exports.

The struct definitions for all TensorXD, Tensor trait, and more.

Implementations of all operations for tensors, including activations, binary operations, and other methods.