Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
ReplaceNode
Function · 0.80
Create1DStringConstOp
Function · 0.80
CreateRestoreOp
Function · 0.80
CreateDefaultValueNode
Function · 0.80
AddPlaceholder
Function · 0.80
CreateRestoreAllNode
Function · 0.80
CreateScalarStringConstOp
Function · 0.80
CreateNewEmbeddingLookupGraph
Function · 0.80
AddVariableInitSubGraph
Method · 0.80
CreateFakeConstOp
Function · 0.80
CreateStringJoinOp
Function · 0.80
CreateConcatOp
Function · 0.80
Calls
1
IsEmpty
Function · 0.85
Tested by
15
TEST
Function · 0.64
TEST
Function · 0.64
TestRemoveNodes
Method · 0.64
TestRemoveOutputNodes
Method · 0.64
TestRemoveChainedNodes
Method · 0.64
TestRemoveMultipleInputs
Method · 0.64
TestSimpleTree
Method · 0.64
TestManyNodes
Method · 0.64
TestNameClashes
Method · 0.64
TestRenameOp
Method · 0.64
CreateDeviceGraph
Function · 0.64
TestRenameAttribute
Method · 0.64