MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Clear

Method Clear

tensorflow/core/graph/graph.cc:166–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void Node::Clear() {
167 in_edges_.clear();
168 out_edges_.clear();
169 id_ = -1;
170 cost_id_ = -1;
171 class_ = NC_UNINITIALIZED;
172 props_.reset();
173 assigned_device_name_index_ = 0;
174}
175
176void Node::UpdateProperties() {
177 DataTypeVector inputs;

Callers 3

ToGraphDefSubRangeMethod · 0.45
ReleaseNodeMethod · 0.45
TEST_FFunction · 0.45

Calls 2

clearMethod · 0.45
resetMethod · 0.45

Tested by 1

TEST_FFunction · 0.36