Module dorset::core [] [src]

The core data structures for the autodiff expression graph and memory management.

Re-exports

pub use self::types::*;
pub use self::constants::*;
pub use self::vari::*;
pub use self::var::Var;
pub use self::memory::ChainStack;

Modules

constants
memory

Off-the-shelve memory arena using typed-arena crate.

types
var

Each Var contains a reference-counted pointer to a Vari, stored in memory arena.

vari

As the backend of Var, Vari constains actual node data, as well as the memory arena information. Each node data includes a funtion pointer for chain operation.