RemoteConfig

class tf_encrypted.config.RemoteConfig(hostmap, master=None, job_name='tfe', log_device_placement=False)[source]

Configure tf-encrypted to use network hosts for the different players.

Parameters:
  • hostmap (Union[List[Tuple[str,str]],Dict[str,str]]) – A mapping of hostnames to their IP / domain.
  • master (Optional[Union[int,str]]) – A mapping of the masters IP to his name.
  • job_name (str) – The name of the job.
  • log_device_placement (bool) – Whether or not to write device placement in logs.