|
|
|
@@ -1697,6 +1697,44 @@ PayloadCreateTrainJob{ |
|
|
|
jobId string `json:"jobId,optional"` |
|
|
|
} |
|
|
|
********************/ |
|
|
|
|
|
|
|
/******************Ai Center overview*************************/ |
|
|
|
CenterOverviewResp { |
|
|
|
CenterNum int32 `json:"totalCenters,optional"` |
|
|
|
TaskNum int32 `json:"totalTasks,optional"` |
|
|
|
CardNum int32 `json:"totalCards,optional"` |
|
|
|
PowerInTops float64 `json:"totalPower,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
CenterQueueingResp { |
|
|
|
Current []*CenterQueue `json:"current,optional"` |
|
|
|
History []*CenterQueue `json:"history,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
CenterQueue { |
|
|
|
Name string `json:"name,optional"` |
|
|
|
QueueingNum int32 `json:"num,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
CenterListResp { |
|
|
|
List []*Center `json:"centerList,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
Center { |
|
|
|
Name string `json:"name,optional"` |
|
|
|
StackName string `json:"stack,optional"` |
|
|
|
Version string `json:"version,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
CenterTaskListResp { |
|
|
|
List []*AiTask `json:"taskList,optional"` |
|
|
|
} |
|
|
|
|
|
|
|
AiTask { |
|
|
|
Name string `json:"name,optional"` |
|
|
|
status string `json:"status,optional"` |
|
|
|
TimeElapsed int32 `json:"elapsed,optional"` |
|
|
|
} |
|
|
|
) |
|
|
|
|
|
|
|
/******************create TrainIngJob end*************************/ |
|
|
|
|