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

Method set_name

tensorflow/core/graph/graph.cc:239–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void Node::set_name(string name) {
240 MaybeCopyOnWrite();
241 props_->node_def.set_name(std::move(name));
242}
243
244void Node::set_requested_device(const string& device) {
245 MaybeCopyOnWrite();

Callers 15

ReplaceNodeFunction · 0.45
Create1DStringConstOpFunction · 0.45
CreateRestoreOpFunction · 0.45
CreateDefaultValueNodeFunction · 0.45
AddPlaceholderFunction · 0.45
CreateRestoreAllNodeFunction · 0.45
FreezeSignatureDefMethod · 0.45

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.36
TESTFunction · 0.36
TestRemoveNodesMethod · 0.36
TestRemoveOutputNodesMethod · 0.36
TestSimpleTreeMethod · 0.36
TestManyNodesMethod · 0.36
TestNameClashesMethod · 0.36
TestRenameOpMethod · 0.36
CreateDeviceGraphFunction · 0.36
TestRenameAttributeMethod · 0.36