小编김종현*_*김종현的帖子

将张量值保存为二进制格式的文件的最佳方法是什么?

我正在尝试将张量值保存为二进制格式的文件.特别是我试图将float32张量值保存为二进制格式(IEEE-754格式).请你帮助我好吗 ??

import tensorflow as tf

x = tf.constant([[1.0, 2.0, 3.0], [5.5, 4.3, 2.5]])

# how to save tensor x as binary format ?? 
Run Code Online (Sandbox Code Playgroud)

python floating-point tensorflow

7
推荐指数
1
解决办法
5067
查看次数

标签 统计

floating-point ×1

python ×1

tensorflow ×1