【发布时间】:2017-03-05 03:16:58
【问题描述】:
正如标题所说,我想知道 TensorFlow 中“参考边缘”和“非参考边缘”之间的概念差异。
我正在阅读 TensorFlow 中的图形分区算法。
这里(line 826 of graph_partition.cc)是提到的评论
“非参考边缘”:
825 // For a node dst, 'ref_recvs' remembers the recvs introduced by a ref
826 // edge to dst. 'ref_control_inputs' remembers the inputs by a non-ref
827 // edge to dst. We will add a control edge for every pair in
828 // (ref_recvs x ref_control_inputs).
829 std::vector<NodeDef*> ref_recvs;
830 std::vector<string> ref_control_inputs;
有人可以更清楚地解释差异吗?非常感谢。
【问题讨论】:
标签: tensorflow