I have a model with binary weight values (1s and 0s only).


Is there any way to initialize the weights such that only the ones are initialized?


In order to see how my sparse network performs, I would like to freeze all the zero weight values, so that they are maintained as zero during backprop. Is there any efficient way to do that?