Implement backend for Tracker#44
Conversation
|
Tracker's an interesting case because I think you want to avoid calling |
|
Actually, even if we track nesting in the constructor, we still have the problem that the test suite uses |
These aren't necessary to pass first-order tests
| struct TrackerBackend <: AbstractReverseMode end | ||
|
|
||
| function second_lowest(::TrackerBackend) | ||
| return throw(ArgumentError("Tracker backend does not support nested differentiation.")) |
There was a problem hiding this comment.
This is the best way I could think of to signal that Tracker should not be used for higher order AD.
Codecov Report
@@ Coverage Diff @@
## master #44 +/- ##
==========================================
+ Coverage 82.39% 83.00% +0.61%
==========================================
Files 4 5 +1
Lines 443 459 +16
==========================================
+ Hits 365 381 +16
Misses 78 78
Continue to review full report at Codecov.
|
|
This PR is now ready for review. Our version of |
|
Thanks Seth and sorry for the delay. |
Relates #40