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