4 releases
0.0.4 | Dec 26, 2020 |
---|---|
0.0.3 | Dec 26, 2020 |
0.0.2 | Dec 26, 2020 |
0.0.1 | Dec 23, 2020 |
#6 in #differentiable
7KB
ast_topology
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.
Dependencies
~5MB
~100K SLoC