code: def __init__(self, method):
      super(RemoteWorkerMemoryTest, self).__init__(method)
  
      # used for remote worker tests
      self._cached_server = server_lib.Server.create_local_server()
      self._cached_server_target = self._cached_server.target[
          len("grpc://") :
      ]
  
file_path: tensorflow/tensorflow/python/eager/memory_tests/remote_memory_test.py
imports: from tensorflow.python.eager import def_function
  from tensorflow.python.eager import remote
  from tensorflow.python.eager import test
  from tensorflow.python.eager.memory_tests import memory_test_util
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.training import server_lib
label_desc: Use image node_id 1 to create a new RemoteWorkerMemoryTest object from inherited base classes: test with example: obj = RemoteWorkerMemoryTest(method)