| @@ -30,13 +30,13 @@ type ( | |||||
| /******************image inference*************************/ | /******************image inference*************************/ | ||||
| ImageInferenceReq { | ImageInferenceReq { | ||||
| TaskName string `json:"taskName"` | |||||
| TaskDesc string `json:"taskDesc"` | |||||
| ModelType string `json:"modelType"` | |||||
| Instances []DeployInstance `json:"instances"` | |||||
| Strategy string `json:"strategy,,optional"` | |||||
| StaticWeightMap map[string]int32 `json:"staticWeightMap,optional"` | |||||
| Replica int32 `json:"replicas,optional"` | |||||
| TaskName string `form:"taskName"` | |||||
| TaskDesc string `form:"taskDesc"` | |||||
| ModelType string `form:"modelType"` | |||||
| Instances []DeployInstance `form:"instances"` | |||||
| Strategy string `form:"strategy,,optional"` | |||||
| StaticWeightMap map[string]int32 `form:"staticWeightMap,optional"` | |||||
| Replica int32 `form:"replicas,optional"` | |||||
| } | } | ||||
| ImageInferenceResp { | ImageInferenceResp { | ||||
| @@ -5930,13 +5930,13 @@ type ModelNamesResp struct { | |||||
| } | } | ||||
| type ImageInferenceReq struct { | type ImageInferenceReq struct { | ||||
| TaskName string `json:"taskName"` | |||||
| TaskDesc string `json:"taskDesc"` | |||||
| ModelType string `json:"modelType"` | |||||
| Instances []DeployInstance `json:"instances"` | |||||
| Strategy string `json:"strategy,,optional"` | |||||
| StaticWeightMap map[string]int32 `json:"staticWeightMap,optional"` | |||||
| Replica int32 `json:"replicas,optional"` | |||||
| TaskName string `form:"taskName"` | |||||
| TaskDesc string `form:"taskDesc"` | |||||
| ModelType string `form:"modelType"` | |||||
| Instances []DeployInstance `form:"instances"` | |||||
| Strategy string `form:"strategy,,optional"` | |||||
| StaticWeightMap map[string]int32 `form:"staticWeightMap,optional"` | |||||
| Replica int32 `form:"replicas,optional"` | |||||
| } | } | ||||
| type ImageInferenceResp struct { | type ImageInferenceResp struct { | ||||