class_docstr: Cluster manager for TensorFlow servers.
docstr: Prepare to start a TensorFlow server remotely.
  
  Args:
      hostname (str): host name or address
      tf_server_starter_filepath (str): local starter file path
      working_dir (str): remote working directory
docstr_tok: ["Prepare","to","start","a","TensorFlow","server","remotely",".","Args",":","hostname","(","str",")",":","host","name","or","address","tf_server_starter_filepath","(","str",")",":","local","starter","file","path","working_dir","(","str",")",":","remote","working","directory"]
code: def remote_pre_start_tf_server(
      self,
      hostname,
      tf_server_starter_filepath,
      working_dir=DEFAULT_WORKING_DIR,
  ):
      """
      Prepare to start a TensorFlow server remotely.
  
      Args:
          hostname (str): host name or address
          tf_server_starter_filepath (str): local starter file path
          working_dir (str): remote working directory
      """
      logging.info("Copying necessary files to %s" % hostname)
      self.remote_copy(
          local_path=tf_server_starter_filepath,
          remote_path=working_dir,
          hostname=hostname,
      )
      self.remote_file_write(
          remote_path=os.path.join(working_dir, "cluster_spec.json"),
          data=json.dumps(self.cluster_spec),
          hostname=hostname,
      )
  
imports: import atexit
  import contextlib
  import json
  import os
  import signal
  import subprocess
  import sys
  import warnings
  from abc import ABCMeta, abstractmethod
  import paramiko
  from autodist.const import DEFAULT_PORT_RANGE, DEFAULT_WORKING_DIR, ENV
  from autodist.resource_spec import ResourceSpec
  from autodist.utils import logging
label_desc: Use image node_id 12 for calling the Cluster obj's underlying member method code with example usage: obj.remote_pre_start_tf_server(hostname, tf_server_starter_filepath, working_dir) without return types