Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Versions
DIT source
AbstractScenario
disappears, replaced by a concrete typeScenario
with more flexibility. It stores the operator results directly, instead of aref
closure.GradientScenario
are just constructors and not types anymore. Their signature changes to be more explicit.test_differentiation
no longer acceptsref_backend
, and itsexcluded
kwarg must be aVector{Symbol}
now.benchmark_differentiation
directly returns aDataFrame
num_to_arr
SArray
s everywhere for 1-arg,MArray
s for 2-arg) and it caught a bug in ForwardDiff.allocfree_scenarios
for functions which shouldn't cause any allocationsDIT tests
AutoZero
tests with the internal functionscenario_to_zero
DI extensions
value_gradient_and_hessian
onSArray
s, by using aHessianResult(x)
instead of the handcraftedMutableDiffResult
DI tests
allocfree_scenarios
excluded
kwarg totest_differentiation
, which now requiresSymbol
s