-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
One-argument fmapstructure(x)
#56
base: master
Are you sure you want to change the base?
Conversation
Could we find a more descriptive name by ditching the |
Is |
As long as it isn't exported I don't see an issue. We've been given to using "restructure" as the inverse of "destructure", after all. That said, made up verbs like "structurize" might also work. |
Jax uses |
What I don't like about |
What about |
There has got to be a nice name somewhere. They aren't strictly trees due to cache. "simple" or "strip" or "raw"... It's basically a recursive application of |
I think any ancestral tree/graph analogies beyond referring to the parent/children of a single node is confusing. I am okay with something like |
|
Maybe this should be called
fstructure(x)
since there's nomap
. The point is to strip all the types for saving etc. Apparently others believe this method should exist: https://discourse.julialang.org/t/how-to-load-bson-file-of-the-model-build-with-flux-0-12-10-to-use-with-flux-0-13-flux-diagonal-deprecated-problem/91588/2PR Checklist