You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, WeightInitializers relies on partial.jl to have pre-filled functions as weight initializers. This is not exported to the user, so to write your own init function that behaves similarly I have to manually copy it.
I think writing a custom initializer is not that weird of a task. For example, my need is to have a matrix with a specific spectral radius, something that is not possible with the stock functions.
I think it's just a matter of exporting utilities inside partial.jl. Let me know what you think.
The text was updated successfully, but these errors were encountered:
bertini97
changed the title
Make writing initializers easier
Export utilities in partial.jl
Jan 8, 2025
Currently,
WeightInitializers
relies on partial.jl to have pre-filled functions as weight initializers. This is not exported to the user, so to write your own init function that behaves similarly I have to manually copy it.I think writing a custom initializer is not that weird of a task. For example, my need is to have a matrix with a specific spectral radius, something that is not possible with the stock functions.
I think it's just a matter of exporting utilities inside
partial.jl
. Let me know what you think.The text was updated successfully, but these errors were encountered: