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

Function DataToControl

tensorflow/compiler/jit/build_xla_ops_pass.cc:86–89  ·  view source on GitHub ↗

Returns an operation that can be control-depended on that is dead iff `data` is dead.

Source from the content-addressed store, hash-verified

84// Returns an operation that can be control-depended on that is dead iff `data`
85// is dead.
86Operation DataToControl(const Scope& scope, Output data) {
87 return Operation(
88 ops::Identity(scope.WithOpName("data_as_ctrl"), data).node());
89}
90
91// Replaces each outgoing edge from `old_node` with a merge node that merges in
92// the corresponding output from `new_node`.

Callers 2

Calls 4

WithOpNameMethod · 0.80
OperationClass · 0.50
IdentityFunction · 0.50
nodeMethod · 0.45

Tested by

no test coverage detected