added scheduler api aioptions
Former-commit-id: 634213a6182c1dc2e17417df9ceaf1289743e2ca
This commit is contained in:
parent
1de507e136
commit
b09a45bd5b
|
@ -20,10 +20,18 @@ type (
|
||||||
}
|
}
|
||||||
|
|
||||||
AiOption {
|
AiOption {
|
||||||
|
TaskName string `json:"taskName"`
|
||||||
|
AiClusterId string `json:"aiClusterId,optional"`
|
||||||
ResourceType string `json:"resourceType"`
|
ResourceType string `json:"resourceType"`
|
||||||
|
Tops float64 `json:"Tops,optional"`
|
||||||
TaskType string `json:"taskType"`
|
TaskType string `json:"taskType"`
|
||||||
Datasets string `json:"datasets"`
|
Datasets string `json:"datasets"`
|
||||||
|
Algorithm string `json:"algorithm"`
|
||||||
Strategy string `json:"strategy"`
|
Strategy string `json:"strategy"`
|
||||||
|
StaticWeightMap map[string]int32 `json:"staticWeightMap,optional"`
|
||||||
|
Params []string `json:"params,optional"`
|
||||||
|
Envs []string `json:"envs,optional"`
|
||||||
|
Cmd string `json:"cmd,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
AiResourceTypesResp {
|
AiResourceTypesResp {
|
||||||
|
|
Loading…
Reference in New Issue