-
Notifications
You must be signed in to change notification settings - Fork 98
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
Distances + ChainRules #172
Comments
Distances.jl is also very lightweight, for example
but with ChainRulesCore as a dependency:
|
Sure. So is that a tradeoff you're willing to make so that |
This was referenced Jan 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are the maintainers of this package open to
ChainRules
-centric PRs? ie. are you happy to host "AD recipes" in this package?The consensus is that the "correct" place for rules is in the package that defines the functions (otherwise it's type-piracy), in the same way that recipes for
RecipesBase
for plotting are hosted in the same package as the things that you want to plot using them.An additional dependency on ChainRulesCore will be required, but as you can see from it's Project.toml, it is very lightweight.
The text was updated successfully, but these errors were encountered: