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

Method _set_control_flow_context

tensorflow/python/framework/ops.py:3115–3121  ·  view source on GitHub ↗

Sets the current control flow context. Args: ctx: a context object.

(self, ctx)

Source from the content-addressed store, hash-verified

3113 return self._control_flow_context
3114
3115 def _set_control_flow_context(self, ctx):
3116 """Sets the current control flow context.
3117
3118 Args:
3119 ctx: a context object.
3120 """
3121 self._control_flow_context = ctx
3122
3123 def _copy_functions_to_graph_def(self, graph_def, starting_bytesize):
3124 """If this graph contains functions, copy them to `graph_def`."""

Callers 15

_trace_executionMethod · 0.45
clear_control_inputsFunction · 0.45
forward_syncMethod · 0.45
grad_syncMethod · 0.45
AddForwardAccumulatorMethod · 0.45
ZerosLikeMethod · 0.45
EnterMethod · 0.45
ExitMethod · 0.45
__init__Method · 0.45
AddValueMethod · 0.45

Calls

no outgoing calls

Tested by 1

_GetNodeNamesMethod · 0.36