Hello AlbanD,
Thank you so much for your reply
I still have a question, if I don’t use .data, how do I call Numpy function input is Pytorch Variable?
For example
output[i,j] = (input[i,j])+(self.weight[0,0,i,j])               --------------works
output[i,j] = np.add((a[i][j]),(self.weight[0,0,i,j]))       ---------------Doesn’t  work
np.add just a example, actually I need some other Numpy functions.
Could you please provide a simply example?