Konvertieren Sie Numpy Array in Tffrecord und zurück

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