Let’s say I have a layer that takes multiple inputs.
In this layer (e.g. eltwise multiplication) I want to disable the backpropagation on one of the inputs.
In Caffe, I was able to do this by setting  propagate_down: false for that input inside that layer.
How could this be achieved using Pytorch? Thanks a lot in advance.