Home
last modified time | relevance | path

Searched refs:node_index_ (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view.cc37 : NodeIndexAndPortIndex(node_view->graph_view_, node_view->node_index_, in FaninView()
41 : NodeIndexAndPortIndex(node_view->graph_view_, node_view->node_index_, in FanoutView()
45 return &graph_view_->graph()->node(node_index_); in node()
53 {&graph_view_->graph_->node(fanin.node_index_), fanin.index()}); in HasFanin()
69 return view->regular_fanins_[fanout.index()].node_index_ == node_index_; in HasFanout()
124 const int node_index = node_view->node_index_; in CheckAndAddFaninsInternal()
172 : NodeIndexAndPortIndex(node_view->graph_view_, node_view->node_index_, in MutableFaninView()
176 : NodeIndexAndPortIndex(node_view->graph_view_, node_view->node_index_, in MutableFanoutView()
180 return graph_view_->graph()->mutable_node(node_index_); in node()
188 {&graph_view_->graph_->node(fanin.node_index_), fanin.index()}); in HasFanin()
[all …]
Dgraph_view_internal.h47 node_index_(kMissingIndex), in NodeIndexAndPortIndex()
51 node_index_(node_index), in NodeIndexAndPortIndex()
56 node_index_ == other.node_index_ && graph_view_ == other.graph_view_;
61 return Hash::combine(std::move(h), n.node_index_, n.port_index_); in AbslHashValue()
69 return graph_view_->GetNode(node_index_); in node_view()
73 int node_index() const { return node_index_; } in node_index()
80 int node_index_; variable
132 node_index_(node_index), in NodeViewInternal()
136 : graph_view_(nullptr), node_index_(kMissingIndex), attrs_(AttrSlice()) {} in NodeViewInternal()
144 return node_index_ == other.node_index_ && graph_view_ == other.graph_view_;
[all …]
Dgraph_view.h397 from_ = from_node->node_index_; in TopologicalDependency()
398 to_ = to_node->node_index_; in TopologicalDependency()