report_stop_complete(code: int, msg: str, fault_ranks: dict) -> int

Description

The client reports to the server that the task process is stopped. Generally, after the client receives the training stop signal from the server, the client stops the training process, and then reports to the server that the task process is stopped.

Input Parameters

Table 1 Parameters

Parameter

Type

Description

code

Integer

Status code

msg

String

Return information

fault_ranks

Dictionary

Rank of the faulty process

Return Value

Table 2 Return value description

Type

Description

Integer

Returns 0 if the operation is successful; returns a non-0 value if the operation fails.

For details, see Return Codes.