'Tensor' object has no attribute 'reshape'
yassinesamet opened this issue · comments
yassinesamet commented
import theano.tensor as T
y_true = T.flatten(y_true)
.
File "/home/yassine/venv/lib/python3.6/site-packages/theano/tensor/basic.py", line 5122, in flatten
x_reshaped = x.reshape(dims)
AttributeError: 'Tensor' object has no attribute 'reshape'