Reinterpret Vector of TaylorScalars as Matrix#39
Conversation
|
The test failure does not look related to this PR. |
|
Hi Yicheng, sorry for the late reply. Yes, it is definitely reasonable to relax the restrictions on types of |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #39 +/- ##
==========================================
- Coverage 86.30% 85.83% -0.48%
==========================================
Files 6 6
Lines 241 240 -1
==========================================
- Hits 208 206 -2
- Misses 33 34 +1
☔ View full report in Codecov by Sentry. |
f6534b4 to
e53c640
Compare
Update chainrules.jl relax type format
e53c640 to
1193331
Compare
|
There were some conflicts, just fixed by squashing and merged. |
By reinterpreting
VectorofTaylorScalars asMatrixwe can take advantage of matrix multiplication.Also relax the type annotation so that we can use
TaylorDiffon gpu.