-
Notifications
You must be signed in to change notification settings - Fork 32
Formalize backend interface #828
Copy link
Copy link
Open
Labels
coreRelated to the core utilities of the packageRelated to the core utilities of the packagedocumentationImprovements or additions to documentationImprovements or additions to documentationtestRelated to the testing subpackageRelated to the testing subpackage
Metadata
Metadata
Assignees
Labels
coreRelated to the core utilities of the packageRelated to the core utilities of the packagedocumentationImprovements or additions to documentationImprovements or additions to documentationtestRelated to the testing subpackageRelated to the testing subpackage
DI defines several backend objects and wrappers (in addition to those from ADTypes):
SecondOrderMixedModeAutoForwardFromPrimitive,AutoReverseFromPrimitiveAutoZeroForward,AutoZeroReverseAutoSimpleFiniteDiffFor each of those, several functions need to be defined:
ADTypes.modeDI.check_availableDI.inplace_supportDI.pick_batchsize(for integers and for arrays), andDI.threshold_batchsizefor testingDI.inner_preparation_behavior, andDI.overloaded_inputif necessaryThis should all be documented and properly tested.