Initializes TaskD Agent. This API is called in user code.
Parameter |
Type |
Description |
|---|---|---|
config |
dict:{str : str} |
Agent information, including the Agent and network configurations. The keys include:
|
cls |
Instance type |
This parameter is used in the PyTorch framework and is a SimpleElasticAgent instance. It is not required for other frameworks. |
Type |
Description |
|---|---|
Bool |
Whether initialization is successful.
|