Nonnegative weights
#2481
-
Hi, My current approach is to rewrite the glorot_uniform and variance_scaling functions, to do what I want. That works but also adds a lot of boilerplate code to my project. I hope there is a nicer/cleaner way to do this. |
Beta Was this translation helpful? Give feedback.
Answered by
cgarciae
Sep 30, 2022
Replies: 1 comment 1 reply
-
@Rasmuskh Creating custom initializers is fine, if they are taking too much space consider creating an |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Rasmuskh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Rasmuskh Creating custom initializers is fine, if they are taking too much space consider creating an
initializers.py
module and then import them from there.