Skip to content

Formalize backend interface #828

@gdalle

Description

@gdalle

DI defines several backend objects and wrappers (in addition to those from ADTypes):

  • SecondOrder
  • MixedMode
  • AutoForwardFromPrimitive, AutoReverseFromPrimitive
  • AutoZeroForward, AutoZeroReverse
  • AutoSimpleFiniteDiff

For each of those, several functions need to be defined:

  • ADTypes.mode
  • DI.check_available
  • DI.inplace_support
  • DI.pick_batchsize (for integers and for arrays), and DI.threshold_batchsize for testing
  • DI.inner_preparation_behavior, and DI.overloaded_input if necessary

This should all be documented and properly tested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreRelated to the core utilities of the packagedocumentationImprovements or additions to documentationtestRelated to the testing subpackage

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions