Skip to content

Conversation

CarloLucibello
Copy link
Member

continuation of #171, to be merged after that.

* fix docs

* cleanup
@darsnack darsnack mentioned this pull request Apr 4, 2024
4 tasks
* trainables

* trainables

* cl/trainables

* trainables

* test second order derivatives

* add doc section

* fix test

* Update src/trainables.jl
@CarloLucibello
Copy link
Member Author

In #171 (comment) @darsnack said

Also, while okay for Functors, I'm not a fan of duplicated *_with_path functions. Like @ToucheSir suggested, if we want two variants, then a keyword flag seems like a better API.

If we are not concerned with type instability and performance issues I agree that a flag would be better.

@ToucheSir
Copy link
Member

I think the implementation is already type unstable, so I wouldn't be concerned. Making a method with kwargs type stable would be easy compared to making all of the internals type stable, even under AD.

@CarloLucibello
Copy link
Member Author

I don't understand how to switch this PR to target master, I'll open a new one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants