使用optimizer.minimize()时报错'Tensor object is not callable'传入的函数也是tensor类型
可能是把tensor变量的使用误写成了函数的形式,比如
t是一个tensor
t(x)或者t()