tft_notify_controller_stop_train
接口功能
提供给MindCluster调用,通知MindIO TFT主动停止训练,并告知MindIO TFT发生故障的卡信息。
接口格式
mindio_ttp.controller_ttp.tft_notify_controller_stop_train(fault_ranks: dict)
接口参数
参数  | 
是否必选  | 
说明  | 
取值要求  | 
|---|---|---|---|
fault_ranks  | 
必选  | 
发生故障的卡信息。  | 
<int key, int errorType>字典: 
  | 
返回值
- 0:调用成功
 - 1:调用失败
 
父主题: API接口参考