tensorflow 获取graph中的所有tensor

[n.name for n in tf.get_default_graph().as_graph_def().node]

摘自https://stackoverflow.com/questions/36883949/in-tensorflow-get-the-names-of-all-the-tensors-in-a-graph 

猜你喜欢

转载自blog.csdn.net/u010454261/article/details/81133546
今日推荐