I want to build NN in which some of the weights always be 0, and other weights will be optimized through the training process.
                    
            
          


From the StackOverflow 2, I found something closer for tensorflow.
But, I want to implement this in Pytorch.
Can anyone please help me?