I want to change list to tensor with tf.convert_to_tensor, data is following:
tf.convert_to_tensor
data=[ array([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,
You can't. Like the error message says, TensorFlow arrays can not have different sizes along one dimension. Try to use a list of TensorFlow arrays instead or the dataset api.