InferenceJobProps
Properties for defining a InferenceJob
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-inferencejob
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpaiplugin"
&alicloudroscdkpaiplugin.InferenceJobProps {
Algorithm: interface{},
CampaignId: interface{},
DataPath: interface{},
Name: interface{},
TargetPath: interface{},
TrainingJobId: interface{},
UserConfig: interface{},
Remark: interface{},
WaitForInferenceFinish: interface{},
}
Properties
Name | Type | Description |
---|---|---|
Algorithm |
interface{} |
Property algorithm: The algorithm of inference job. |
CampaignId |
interface{} |
Property campaignId: The campaign id of inference job. |
DataPath |
interface{} |
Property dataPath: The input data path of inference job. |
Name |
interface{} |
Property name: The name of inference job. |
TargetPath |
interface{} |
Property targetPath: The output result path of inference job. |
TrainingJobId |
interface{} |
Property trainingJobId: The training job id of inference job. |
UserConfig |
interface{} |
Property userConfig: The user config of inference job. |
Remark |
interface{} |
Property remark: The remark of inference job. |
WaitForInferenceFinish |
interface{} |
Property waitForInferenceFinish: Whether resource creation waits for the inference task to complete.The longest waiting time is 40 minutes. |
Algorithm
Required
Algorithm interface{}
- Type: interface{}
Property algorithm: The algorithm of inference job.
CampaignId
Required
CampaignId interface{}
- Type: interface{}
Property campaignId: The campaign id of inference job.
DataPath
Required
DataPath interface{}
- Type: interface{}
Property dataPath: The input data path of inference job.
Name
Required
Name interface{}
- Type: interface{}
Property name: The name of inference job.
TargetPath
Required
TargetPath interface{}
- Type: interface{}
Property targetPath: The output result path of inference job.
TrainingJobId
Required
TrainingJobId interface{}
- Type: interface{}
Property trainingJobId: The training job id of inference job.
UserConfig
Required
UserConfig interface{}
- Type: interface{}
Property userConfig: The user config of inference job.
Remark
Optional
Remark interface{}
- Type: interface{}
Property remark: The remark of inference job.
WaitForInferenceFinish
Optional
WaitForInferenceFinish interface{}
- Type: interface{}
Property waitForInferenceFinish: Whether resource creation waits for the inference task to complete.The longest waiting time is 40 minutes.