|
|
|
@@ -56,13 +56,18 @@ type FederatedLearningAppInfo struct { |
|
|
|
Name string `json:"name"` |
|
|
|
Description string `json:"description"` |
|
|
|
ClientCount int `json:"clientCount"` //参与者人数 |
|
|
|
ServerJobInfo JobInfo `json:"serverJobInfo"` //服务端作业信息 |
|
|
|
ClientJobInfo JobInfo `json:"clientJobInfo"` //客户端作业信息 |
|
|
|
ServerJobInfo AIJobInfo `json:"serverJobInfo"` //服务端作业信息 |
|
|
|
ClientJobInfo AIJobInfo `json:"clientJobInfo"` //客户端作业信息 |
|
|
|
Role string `json:"role"` //角色,server/client |
|
|
|
IsDataReturn bool `json:"isDataReturn"` //是否需要数据回源 |
|
|
|
DatasetBindID cdssdk.ObjectID `json:"datasetBindID"` //数据集绑定ID |
|
|
|
ClientIDs []ClientID `json:"clientIDs"` //参与者ID列表 |
|
|
|
JoinedCount int64 `json:"joinedCount"` //已经参与的人数 |
|
|
|
|
|
|
|
//用于回显数据 |
|
|
|
ClientDatasets []interface{} `json:"clientDatasets"` //数据集列表 |
|
|
|
ServerDataDistribute interface{} `json:"serverDataDistribute"` //server数据分发信息 |
|
|
|
ClientDataDistribute interface{} `json:"clientDataDistribute"` //client数据分发信息 |
|
|
|
} |
|
|
|
|
|
|
|
// SceneAPIAppInfo 场景化API聚合 |
|
|
|
|