简体   繁体   English

TF 2 API中的tensorflow.contrib.graph_editor?

[英]tensorflow.contrib.graph_editor in TF 2 API?

To my understanding tensorflow.contrib is removed in TF 2.0 API. 据我了解,tensorflow.contrib在TF 2.0 API中已删除。 What's the new 2.0 alternative for tensorflow.contrib.graph_editor in TF 1.0 API? TF 1.0 API中tensorflow.contrib.graph_editor的新2.0替代方案是什么? https://www.tensorflow.org/api_docs/python/tf/contrib/graph_editor https://www.tensorflow.org/api_docs/python/tf/contrib/graph_editor

The alternative as I understand from the documentation is the approach "Keep track of your variables!" 据我从文档中了解到的另一种方法是“跟踪变量!” . When creating graph, you are now responsible for referencing it's nodes. 创建图时,您现在要负责引用它的节点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM