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

Method set_op

tensorflow/compiler/jit/node_matchers.h:110–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 }
109
110 void set_op(string op) {
111 DCHECK(IsEmpty());
112 op_ = std::move(op);
113 }
114
115 void set_assigned_device(string assigned_device) {
116 DCHECK(IsEmpty());

Callers 15

ReplaceNodeFunction · 0.80
Create1DStringConstOpFunction · 0.80
CreateRestoreOpFunction · 0.80
CreateDefaultValueNodeFunction · 0.80
AddPlaceholderFunction · 0.80
CreateRestoreAllNodeFunction · 0.80
CreateFakeConstOpFunction · 0.80
CreateStringJoinOpFunction · 0.80
CreateConcatOpFunction · 0.80

Calls 1

IsEmptyFunction · 0.85

Tested by 15

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