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 39 40 41 42 43 44 45 46 47 48 49 50 51 52
#![allow(dead_code)]
#![allow(unused_variables)]
//#![no_std]
//! An auto-difference library
//! =============================================================
//!
//!
//! Introduction
//! ------------
//! This is yet another auto-difference library for deep neural network.
//! The focus is easy on use and dynamic computation graph building.
//!
//! Install
//! ------------
//! Add auto-diff = "0.5" to the \[dependencies\] section of your project Cargo.toml file.
//!
//! Features
//! ------------
//! The forward operators support a commonly used set, including:
//!
//! 1. getter/setter,
//! 2. index and slicing,
//! 3. +, -, *, / and matmul,
//! 4. speciall functions,
//! 5. statistics,
//! 6. linear algebra,
//! 7. random number generator.
//!
//! The corresponding gradient is work-in-progress.
//!
//! One feature of auto-diff is the auto-difference is in background
//! and don't get in your way if only forward calculation is needed.
//! Thus it can be used without syntax like variable place holder.
//!
//! Example
//! ------------
//!
pub mod var;
pub mod op;
pub mod optim;
pub mod err;
pub use var::{Var};
pub use err::AutoDiffError;
pub mod compute_graph;
pub mod collection;
pub mod var_inner;
#[cfg(feature = "use-serde")]
pub mod serde;