I have the following code which uses TensorFlow. After I reshape a list, it says
AttributeError: \'Tensor\' object has no attribute \'shape\'
Use tf.shape(tensor), or tf.get_shape(tensor).
tf.shape(tensor)
tf.get_shape(tensor)