Internal API
This is the documentation of Enzymes's internal API. The internal API is not subject to semantic versioning and may change at any time and without deprecation.
Enzyme.Compiler.EnzymeError — TypeEnzymeErrorCommon supertype for Enzyme-specific errors.
This type is made public so that downstream packages can add custom error hints for the most common exceptions thrown by Enzyme.
Enzyme.guess_activity — MethodEnzyme.guess_activity(::Type{T}, mode::Enzyme.Mode)Try to guess the most appropriate Annotation for arguments of type T passed to autodiff with a given mode.