python模型到apk
1、写.pb文件:
graph_def = tf.get_default_graph().as_graph_def()#将图定义取出
out_graph = graph_util.convert_variables_to_constants(sess, graph_def,output_node_names=[‘output’])#将图中的变量转化为constant
with tf.gfile.G...
原创
2019-09-11 20:47:22 ·
162 阅读 ·
0 评论