Reputation: 531
I have a numpy array list something like the follows:
a=np.array([tf.convert_to_tensor(1),tf.convert_to_tensor(2)])
I want to convert this list into a tensor. My real list is not like the constant example but some complex tensor, so does anyone know how to do this?
Upvotes: 1
Views: 1218