MCPcopy Create free account
hub / github.com/alibaba/nann / control_dependencies

Method control_dependencies

tensorflow/tensorflow/python/framework/ops.py:4585–4696  ·  view source on GitHub ↗

Returns a context manager that specifies control dependencies. Use with the `with` keyword to specify that all operations constructed within the context should have control dependencies on `control_inputs`. For example: ```python with g.control_dependencies([a, b, c]): #

(self, control_inputs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

testBasicMethod · 0.95
testEagerMethod · 0.95
testNestedMethod · 0.95
testClearMethod · 0.95
testComplexMethod · 0.95
step_fnFunction · 0.45
build_modelFunction · 0.45
tf_printFunction · 0.45

Calls 5

as_graph_elementMethod · 0.95
TypeErrorFunction · 0.85
appendMethod · 0.45
addMethod · 0.45

Tested by 15

testBasicMethod · 0.76
testEagerMethod · 0.76
testNestedMethod · 0.76
testClearMethod · 0.76
testComplexMethod · 0.76
bodyMethod · 0.36
create_test_network_7Function · 0.36
_init_qMethod · 0.36