parameters: ()
docstring: Disables eager execution.
  
    This function can only be called before any Graphs, Ops, or Tensors have been
    created. It can be used at the beginning of the program for complex migration
    projects from TensorFlow 1.x to 2.x.
docstring_summary: Disables eager execution.
docstring_tokens: Disables eager execution .
function: def disable_eager_execution():
    """Disables eager execution.
  
    This function can only be called before any Graphs, Ops, or Tensors have been
    created. It can be used at the beginning of the program for complex migration
    projects from TensorFlow 1.x to 2.x.
    """
    _api_usage_gauge.get_cell().set(False)
    context.default_execution_mode = context.GRAPH_MODE
    c = context.context_safe()
    if c is not None:
      c._thread_local_data.is_eager = False
function_tokens: def disable_eager_execution ( ) : _api_usage_gauge . get_cell ( ) . set ( False ) context . default_execution_mode = context . GRAPH_MODE c = context . context_safe ( ) if c is not None : c . _thread_local_data . is_eager = False