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

Method _current_control_dependencies

tensorflow/python/framework/ops.py:4589–4594  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4587 self._control_dependencies_stack.pop()
4588
4589 def _current_control_dependencies(self):
4590 ret = set()
4591 for controller in self._control_dependencies_stack:
4592 for op in controller.control_inputs:
4593 ret.add(op)
4594 return ret
4595
4596 def _control_dependencies_for_inputs(self, input_ops):
4597 """For an op that takes `input_ops` as inputs, compute control inputs.

Callers 2

control_dependenciesMethod · 0.95
_merge_callMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected