InferenceJobProps
Properties for defining a InferenceJob
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-inferencejob
Initializer
import com.aliyun.ros.cdk.paiplugin.InferenceJobProps;
InferenceJobProps.builder()
.algorithm(java.lang.String)
.algorithm(IResolvable)
.campaignId(java.lang.String)
.campaignId(IResolvable)
.dataPath(java.lang.String)
.dataPath(IResolvable)
.name(java.lang.String)
.name(IResolvable)
.targetPath(java.lang.String)
.targetPath(IResolvable)
.trainingJobId(java.lang.String)
.trainingJobId(IResolvable)
.userConfig(IResolvable)
.userConfig(java.util.Map<java.lang.String, java.lang.Object>)
// .remark(java.lang.String)
// .remark(IResolvable)
// .waitForInferenceFinish(java.lang.Boolean)
// .waitForInferenceFinish(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
algorithm |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property algorithm: The algorithm of inference job. |
campaignId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property campaignId: The campaign id of inference job. |
dataPath |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dataPath: The input data path of inference job. |
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: The name of inference job. |
targetPath |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property targetPath: The output result path of inference job. |
trainingJobId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property trainingJobId: The training job id of inference job. |
userConfig |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property userConfig: The user config of inference job. |
remark |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property remark: The remark of inference job. |
waitForInferenceFinish |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property waitForInferenceFinish: Whether resource creation waits for the inference task to complete.The longest waiting time is 40 minutes. |
algorithm
Required
public java.lang.Object getAlgorithm();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property algorithm: The algorithm of inference job.
campaignId
Required
public java.lang.Object getCampaignId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property campaignId: The campaign id of inference job.
dataPath
Required
public java.lang.Object getDataPath();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dataPath: The input data path of inference job.
name
Required
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The name of inference job.
targetPath
Required
public java.lang.Object getTargetPath();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property targetPath: The output result path of inference job.
trainingJobId
Required
public java.lang.Object getTrainingJobId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property trainingJobId: The training job id of inference job.
userConfig
Required
public java.lang.Object getUserConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property userConfig: The user config of inference job.
remark
Optional
public java.lang.Object getRemark();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property remark: The remark of inference job.
waitForInferenceFinish
Optional
public java.lang.Object getWaitForInferenceFinish();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property waitForInferenceFinish: Whether resource creation waits for the inference task to complete.The longest waiting time is 40 minutes.