class_docstr: Generic AutoDist Interface.
  
  Ancestor of _V1Graph, _V2Graph, and _V2Eager -- the different ways to run TF code.
docstr: Forward the context manager of a graph item.
docstr_tok: ["Forward","the","context","manager","of","a","graph","item","."]
code: def _scope(self):
      """Forward the context manager of a graph item."""
      with self._original_graph_item.as_default():
          if ENV.AUTODIST_PATCH_TF.val:
              PatchTensorFlow.patch_var_reading()
          PatchTensorFlow.patch_keras()
          yield
          PatchTensorFlow.unpatch_keras()
          PatchTensorFlow.unpatch_var_reading()
  
imports: import atexit
  import os
  from collections import namedtuple
  import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.util import tf_contextlib
  from autodist.cluster import Cluster, SSHCluster
  from autodist.const import ENV
  from autodist.coordinator import Coordinator
  from autodist.graph_item import GraphItem
  from autodist.kernel.device.resolver import DeviceResolver
  from autodist.kernel.graph_transformer import GraphTransformer
  from autodist.patch import PatchTensorFlow
  from autodist.remapper import Remapper
  from autodist.resource_spec import ResourceSpec
  from autodist.runner import WrappedSession
  from autodist.strategy import base
  from autodist.strategy.ps_lb_strategy import PSLoadBalancing
  from autodist.utils import logging
label_desc: Use image node_id 2 for calling the _AutoDistInterface obj's underlying member method code with example usage: obj._scope() without return types