Skip to content

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.

algorithmRequired

public readonly algorithm: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property algorithm: The algorithm of inference job.


campaignIdRequired

public readonly campaignId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property campaignId: The campaign id of inference job.


dataPathRequired

public readonly dataPath: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dataPath: The input data path of inference job.


nameRequired

public readonly name: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property name: The name of inference job.


targetPathRequired

public readonly targetPath: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property targetPath: The output result path of inference job.


trainingJobIdRequired

public readonly trainingJobId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property trainingJobId: The training job id of inference job.


userConfigRequired

public readonly userConfig: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property userConfig: The user config of inference job.


remarkOptional

public readonly remark: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property remark: The remark of inference job.


waitForInferenceFinishOptional

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.