‘tensorflow.python.framework.ops.EagerTensor‘ object has no attribute ‘reshape‘

'tensorflow.python.framework.ops.EagerTensor' object has no attribute 'reshape'

可以将其用numpy读取后再reshape。