Pytorch appears'Tensor' object is not callable solution

Insert picture description here
The reason for this phenomenon may be that the properties of the tensor are called and written in the form of a function, with the parentheses removed

Guess you like

Origin blog.csdn.net/m0_47256162/article/details/113815763