parameters: (self)
return_statement: return self._forward_sync
docstring: A control trigger node for synchronization in the forward loop.
  
      One main use is to keep the push ops of a stack executed in the
      iteration order.
docstring_summary: A control trigger node for synchronization in the forward loop.
docstring_tokens: A control trigger node for synchronization in the forward loop .
function: def forward_sync(self):
      """A control trigger node for synchronization in the forward loop.
  
      One main use is to keep the push ops of a stack executed in the
      iteration order.
      """
      if self._forward_sync is None:
        with ops.control_dependencies(None):
          self._forward_sync = control_trigger(name="f_sync")
        self._forward_sync._set_control_flow_context(self._forward_context)
        self._forward_index.op._add_control_input(self._forward_sync)
      return self._forward_sync
function_tokens: def forward_sync ( self ) : if self . _forward_sync is None : with ops . control_dependencies ( None ) : self . _forward_sync = control_trigger ( name = "f_sync" ) self . _forward_sync . _set_control_flow_context ( self . _forward_context ) self . _forward_index . op . _add_control_input ( self . _forward_sync ) return self . _forward_sync