I tried to use the conver_to_tensor function
k = np.array([1,5,6,9,]) print(list(k)) k = list(k) k = tf.convert_to_tensor(k) k
Output:
<