Advanced Topics
The first two chapters apply x2c to one specialized task each, with the setup each one needs. The third states the invariant behind the region warnings:
- Automatic Differentiation uses the optional autodiff package and its compile-time macros to calculate derivatives.
- Training and Inference with torch uses the optional Torch package and libtorch for machine learning.
- The Region Model states the invariant behind the region warnings and the limits of the check.
The autodiff and Torch packages are separate from the standard library. For the package mechanism itself, see Packages.