Overview of DifferentiationInterfaceTest
mainDifferentiationInterfaceTest provides testing and benchmarking utilities for automatic differentiation (AD) in Julia. It is built on top of DifferentiationInterface.jl and is designed to help developers evaluate a specific function against various AD backends.
Key capabilities include:
- Backend Compatibility: Determining which AD backends can successfully differentiate a given function.
- Performance Benchmarking: Measuring how fast different backends perform differentiation, including runtime and memory allocations.
- Correctness & Stability: Running correctness tests and type stability tests.
- Execution Tracking: Counting the number of calls made to the function during differentiation.
- Custom Scenarios: Defining custom test scenarios for specialized evaluation.