|
|
|
@@ -55,24 +55,11 @@ type FederatedLearningAppInfo struct { |
|
|
|
IsDataReturn bool `json:"isDataReturn"` // 是否需要数据回源 |
|
|
|
ParticipantInfo ParticipantInfo `json:"participantInfo"` |
|
|
|
ParticipantIDs []ParticipantID `json:"participantIDs"` //参与者ID列表 |
|
|
|
|
|
|
|
//ParticipantCount int `json:"participantCount"` //参与者人数 |
|
|
|
//JobResources JobResources `json:"jobResources"` //作业资源 |
|
|
|
//JobInfo JobInfo `json:"jobInfo"` |
|
|
|
//ClientObjectID cdssdk.ObjectID `json:"clientObjectID"` //client代码 |
|
|
|
//ServerObjectID cdssdk.ObjectID `json:"serverObjectID"` //server代码 |
|
|
|
//ModelBindID cdssdk.ObjectID `json:"modelBindID"` //模型绑定id |
|
|
|
//DatasetBindID cdssdk.ObjectID `json:"datasetBindID"` //数据集绑定id |
|
|
|
//ImageBindID cdssdk.ObjectID `json:"imageBindID"` //镜像绑定id |
|
|
|
//JobSetID JobSetID `json:"jobSetID"` //工作集ID |
|
|
|
//Role string `json:"role"` //角色,initiator/participant |
|
|
|
//DataReturnJobInfo DataReturnJobInfo `json:"dataReturnJobInfo"` //数据返回作业信息 |
|
|
|
|
|
|
|
JoinedCount int64 `json:"joinedCount"` //已经参与的人数 |
|
|
|
} |
|
|
|
|
|
|
|
type ParticipantInfo struct { |
|
|
|
DatasetBindID cdssdk.ObjectID `json:"datasetBindID"` //数据集绑定id |
|
|
|
ParticipantID ParticipantID `json:"participantID"` |
|
|
|
} |
|
|
|
|
|
|
|
type OtherAppInfo struct { |
|
|
|
|