-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the jacobian and primal_value primitives #95
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #95 +/- ##
==========================================
+ Coverage 84.25% 85.00% +0.74%
==========================================
Files 8 8
Lines 470 460 -10
==========================================
- Hits 396 391 -5
+ Misses 74 69 -5
☔ View full report in Codecov by Sentry. |
we should do this. |
I am in favour of breaking changes in this package and tagging a new release. I apologise for not being too actively involved here. Please tag team on this package without me and freely merge PRs if you all agree on the changes. I don't want to get in the way of progress here. Good luck! |
Could someone officially approve the PR? 🙂 |
Thank you @mohamed82008! Makes me wonder though if we should adopt the colprac guidelines if more people are maintaining the package now (so far my impression was that basically everything should be approved by you 🙂)? |
As the initiator of this package, I played the role of its maintainer for a while and then I got busy with other stuff and the package was not actively maintained. I think this package should be community-maintained since there seems to be enough interest and no time on my part to be the maintainer. I am not familiar with colprac guidelines for multiple maintainers. But I would say as long as 1 qualified reviewer approves the PR and no one objects in a certain time window, it can be safely merged. Happy to adopt any other standard folks are used to though. |
The jacobian and the primal_value support for
@primitive
does not provide any benefit but IMO rather makes the code less readable (related also to #91): The macro version is equivalent to directly definingAD.jacobian
orAD.primal_value
.Hence this PR proposes to remove support for
@primitive function jacobian
and@primitive function primal_value
(which seems unused and untested).