📅  最后修改于: 2022-03-11 14:45:38.960000             🧑  作者: Mango
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