Convertir le tableau Numpy en tfrecord et retour

tensor = tf.convert_to_tensor(np.random.random(size=(5,5,2)))
result = tf.io.serialize_tensor(tensor).numpy()
result = tf.io.parse_tensor(result, out_type=tf.float64).numpy()
result
Trewqy Zebra