InferenceJobProps
Properties for defining a InferenceJob
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-inferencejob
Initializer
import { InferenceJobProps } from '@alicloud/ros-cdk-paiplugin'
const inferenceJobProps: InferenceJobProps = { ... }
Properties
Name | Type | Description |
---|---|---|
algorithm |
string | @alicloud/ros-cdk-core.IResolvable |
Property algorithm: The algorithm of inference job. |
campaignId |
string | @alicloud/ros-cdk-core.IResolvable |
Property campaignId: The campaign id of inference job. |
dataPath |
string | @alicloud/ros-cdk-core.IResolvable |
Property dataPath: The input data path of inference job. |
name |
string | @alicloud/ros-cdk-core.IResolvable |
Property name: The name of inference job. |
targetPath |
string | @alicloud/ros-cdk-core.IResolvable |
Property targetPath: The output result path of inference job. |
trainingJobId |
string | @alicloud/ros-cdk-core.IResolvable |
Property trainingJobId: The training job id of inference job. |
userConfig |
@alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} |
Property userConfig: The user config of inference job. |
remark |
string | @alicloud/ros-cdk-core.IResolvable |
Property remark: The remark of inference job. |
waitForInferenceFinish |
boolean | @alicloud/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 readonly algorithm: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property algorithm: The algorithm of inference job.
campaignId
Required
public readonly campaignId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property campaignId: The campaign id of inference job.
dataPath
Required
public readonly dataPath: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dataPath: The input data path of inference job.
name
Required
public readonly name: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property name: The name of inference job.
targetPath
Required
public readonly targetPath: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property targetPath: The output result path of inference job.
trainingJobId
Required
public readonly trainingJobId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property trainingJobId: The training job id of inference job.
userConfig
Required
public readonly userConfig: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
Property userConfig: The user config of inference job.
remark
Optional
public readonly remark: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property remark: The remark of inference job.
waitForInferenceFinish
Optional
public readonly waitForInferenceFinish: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property waitForInferenceFinish: Whether resource creation waits for the inference task to complete.The longest waiting time is 40 minutes.