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

Method _get_control_flow_context

tensorflow/python/framework/ops.py:3107–3113  ·  view source on GitHub ↗

Returns the current control flow context. Returns: A context object.

(self)

Source from the content-addressed store, hash-verified

3105 self._finalized = False
3106
3107 def _get_control_flow_context(self):
3108 """Returns the current control flow context.
3109
3110 Returns:
3111 A context object.
3112 """
3113 return self._control_flow_context
3114
3115 def _set_control_flow_context(self, ctx):
3116 """Sets the current control flow context.

Callers 15

_enclosing_tpu_contextFunction · 0.45
__init__Method · 0.45
dynamic_decodeFunction · 0.45
_is_on_tpuFunction · 0.45
outside_compilationFunction · 0.45
_trace_executionMethod · 0.45
_is_old_condFunction · 0.45
clear_control_inputsFunction · 0.45

Calls

no outgoing calls

Tested by 7

_is_old_condFunction · 0.36
testCondContextMethod · 0.36
testCondMethod · 0.36
testWhileLoopMethod · 0.36
contextMethod · 0.36