保存模型
ZCJY
将来的你一定会感谢现在努力的你
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
tensorflow持续化数据格式(1)
1、保存查看持久化数据 import tensorflow as tf # 如果你使用的是CPU版的tensorflow可以将with tf.device('/gpu:0'):去掉 with tf.device('/gpu:0'): V1 = tf.Variable(tf.constant(1.0, shape=[1]), name='V1') V2 = tf.Variable(t...原创 2020-01-01 14:17:44 · 205 阅读 · 0 评论 -
tensorflow保存模型
import tensorflow as tf # with tf.device('/gpu:0'): # V1 = tf.Variable(tf.constant(1.0, shape=[1]), name='V1') # V2 = tf.Variable(tf.constant(2.0, shape=[1]), name='V2') # result = V1 + V...原创 2019-12-31 21:58:29 · 169 阅读 · 0 评论
分享