The variable ‘inputs’ is a output of net.The variable will be inputed to loss function.However,the attribute of requires_grad was changed into ‘False’ after I executed the following:inputs = inputs.ge(0.5).float()
If this case,can it execute backpropagation in the network normally?If not,why? How can I solved it? Thanks in advance.