class_docstr: Interface for working with TFx.x Graph Mode.
code: def _build(self):
      strategy = self._build_or_load_strategy()
      self._setup(
          strategy
      )  # Put it before transforming to allow multiple works to transform concurrently
      compiled_strategy = self._compile_strategy(strategy)
      graph_transformer = GraphTransformer(
          compiled_strategy=compiled_strategy,
          cluster=self._cluster,
          graph_item=self._original_graph_item,
      )
      self._transformed_graph_item = graph_transformer.transform()
      self._remapper = Remapper(
          graph_transformer, self._transformed_graph_item
      )
      self._built = self._original_graph_item.graph.as_graph_def()
  
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 _GraphModeInterface obj's underlying member method code with example usage: obj._build() without return types