2021-06-21
tensorflow 如何保存pb文件和读取pb文件
本文章参考tensorflow如何保存pb文件和读取pb文件 ,主要目的是记录学习tensorflow的过程以及防止找不到原文章。
保存pb文件
import tensorflow as tf
x = tf.placeholder(tf.float32,name="input")
a = tf.Variable(tf.constant(5.,shape=[1]),name="a")
b = tf.Variable(tf.constant(6.,sha
转载
2021-06-21 15:52:18 ·
209 阅读 ·
0 评论