Skip to content

InferenceJobProps

Properties for defining a InferenceJob.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-inferencejob

Initializer

import ros_cdk_paiplugin
ros_cdk_paiplugin.InferenceJobProps(
  algorithm: typing.Union[str, IResolvable],
  campaign_id: typing.Union[str, IResolvable],
  data_path: typing.Union[str, IResolvable],
  name: typing.Union[str, IResolvable],
  target_path: typing.Union[str, IResolvable],
  training_job_id: typing.Union[str, IResolvable],
  user_config: typing.Union[IResolvable, typing.Mapping[typing.Any]],
  remark: typing.Union[str, IResolvable] = None,
  wait_for_inference_finish: typing.Union[bool, IResolvable] = None
)

Properties

Name Type Description
algorithm typing.Union[str, ros_cdk_core.IResolvable] Property algorithm: The algorithm of inference job.
campaign_id typing.Union[str, ros_cdk_core.IResolvable] Property campaignId: The campaign id of inference job.
data_path typing.Union[str, ros_cdk_core.IResolvable] Property dataPath: The input data path of inference job.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of inference job.
target_path typing.Union[str, ros_cdk_core.IResolvable] Property targetPath: The output result path of inference job.
training_job_id typing.Union[str, ros_cdk_core.IResolvable] Property trainingJobId: The training job id of inference job.
user_config typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property userConfig: The user config of inference job.
remark typing.Union[str, ros_cdk_core.IResolvable] Property remark: The remark of inference job.
wait_for_inference_finish typing.Union[bool, ros_cdk_core.IResolvable] Property waitForInferenceFinish: Whether resource creation waits for the inference task to complete.The longest waiting time is 40 minutes.

algorithmRequired

algorithm: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property algorithm: The algorithm of inference job.


campaign_idRequired

campaign_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property campaignId: The campaign id of inference job.


data_pathRequired

data_path: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property dataPath: The input data path of inference job.


nameRequired

name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property name: The name of inference job.


target_pathRequired

target_path: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property targetPath: The output result path of inference job.


training_job_idRequired

training_job_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property trainingJobId: The training job id of inference job.


user_configRequired

user_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

Property userConfig: The user config of inference job.


remarkOptional

remark: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property remark: The remark of inference job.


wait_for_inference_finishOptional

wait_for_inference_finish: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property waitForInferenceFinish: Whether resource creation waits for the inference task to complete.The longest waiting time is 40 minutes.