ast_topology

Crates.ioast_topology
lib.rsast_topology
version0.0.4
sourcesrc
created_at2020-12-23 07:34:31.135253
updated_at2020-12-26 05:15:46.148522
descriptionDifferentiable programming for Rust
homepage
repositoryhttps://github.com/andrew-johnson-4/ast_topology
max_upload_size
id326422
size17,425
Andrew Johnson (andrew-johnson-4)

documentation

https://docs.rs/ast_topology/

README

ast_topology

Crates.IO Documentation Build Nightly Build Donate using Liberapay

Differentiable programming for Rust

This package is no more than sugar for existing Rust autograd libraries.

autograd!{
   let x; let y;
   let z = 2.*x*x + 3.*y + 1.;

   assert_eq!(eval (dz/dy), Ok(3.0));
   assert_eq!(eval [x=2.] (dz/dx), Ok(8.0));
   assert_eq!(eval (ddz/dx), Ok(4.0));
};

Contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in ast_topology by you, shall be dual licensed under the MIT and Apache 2.0 license without any additional terms or conditions.

License

Code is dual licensed under either Apache or MIT Licenses.

Commit count: 14

cargo fmt