julia-chainrulestestutils 1.2.3 Common utilities used by downstream automatic differentiation tools
This package is designed to help in testing ChainRulesCore.frule
and ChainRulesCore.rrule
methods. The main entry points are ChainRulesTestUtils.frule_test
, ChainRulesTestUtils.rrule_test
, and ChainRulesTestUtils.test_scalar
. Currently this is done via testing the rules against numerical differentiation (using FiniteDifferences.jl
).
ChainRulesTestUtils.jl
is separated from ChainRulesCore.jl
so that it can be a test-only dependency, allowing it to have potentially heavy dependencies, while keeping ChainRulesCore.jl
as light-weight as possible.
- Website: https://github.com/JuliaDiff/ChainRulesTestUtils.jl
- License: Expat
- Package source: julia-xyz.scm
- Patches: None
- Builds: x86_64-linux, aarch64-linux, i686-linux