Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ AsControlDependency
Function
AsControlDependency
tensorflow/core/grappler/utils.cc:214–216 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
212
}
213
214
string AsControlDependency(const NodeDef& node) {
215
return absl::StrCat(
"^"
, node.name());
216
}
217
218
string AsControlDependency(const string& node_name) {
219
CHECK(!node_name.empty());
Callers
15
GetControllingFaninToAdd
Method · 0.85
UpdateAllRegularFaninsToControlling
Method · 0.85
TestUpdateFaninFromFaninToNodeAsSwitchControl
Function · 0.85
TEST_F
Function · 0.85
AddControllingFaninInternal
Method · 0.85
AddNodePermNHWCToNCHW
Method · 0.85
AddNodePermNCHWToNHWC
Method · 0.85
AddNodeShapeConst
Method · 0.85
UpdateEdge
Method · 0.85
AddNodeShapeConst
Method · 0.85
MaybeAddControlInput
Function · 0.85
MaybeRemoveControlInput
Function · 0.85
Calls
3
name
Method · 0.65
StrCat
Function · 0.50
empty
Method · 0.45
Tested by
5
TestUpdateFaninFromFaninToNodeAsSwitchControl
Function · 0.68
TEST_F
Function · 0.68
TEST_F
Function · 0.68
TEST_F
Function · 0.68
TEST_F
Function · 0.68