parl.connect

class connect(master_address, distributed_files=[])[源代码]

Create a global client which connects to the master node.

parl.connect(master_address='localhost:1234')
参数:
  • master_address (str) – The address of the Master node to connect to.

  • distributed_files (list) – A list of files to be distributed at all remote instances(e,g. the configuration file for initialization) .

抛出:

Exception – An exception is raised if the master node is not started.