code: def setUp(self):
      super(MultiProcessClusterTest, self).setUp()
      self._cluster = (
          multi_worker_test_base.create_multi_process_cluster(
              num_workers=2, num_ps=1, has_chief=True, rpc_layer="grpc"
          )
      )
      remote.connect_to_cluster(
          self._cluster.cluster_resolver.cluster_spec(), protocol="grpc"
      )
      context.ensure_initialized()
  
file_path: tensorflow/tensorflow/python/distribute/multi_worker_test_base_test.py
imports: from tensorflow.python.distribute import multi_process_runner
  from tensorflow.python.distribute import multi_worker_test_base
  from tensorflow.python.eager import context
  from tensorflow.python.eager import remote
  from tensorflow.python.eager import test
label_desc: Use image node_id 1 for calling the MultiProcessClusterTest obj's underlying member method code with example usage: obj.setUp() without return types