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

Method ReleaseNode

tensorflow/core/graph/graph.cc:794–800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792}
793
794void Graph::ReleaseNode(Node* node) {
795 TF_DCHECK_OK(IsValidNode(node)) << node->DebugString();
796 nodes_[node->id()] = nullptr;
797 free_nodes_.push_back(node);
798 --num_nodes_;
799 node->Clear();
800}
801
802// Ensures that 'device_name' is present in the device name table, and returns
803// the index of that device name. The index is stable, and can be used in

Callers

nothing calls this directly

Calls 4

DebugStringMethod · 0.45
idMethod · 0.45
push_backMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected