Functors.jl
Functors.jl copied to clipboard
One-argument `fmapstructure(x)`
Maybe this should be called fstructure(x) since there's no map. 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/2
PR Checklist
- [ ] Tests are added
- [ ] Documentation, if applicable