-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.ai.ml.entities.ParameterizedCommand.yml
88 lines (82 loc) · 3.44 KB
/
azure.ai.ml.entities.ParameterizedCommand.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
### YamlMime:PythonClass
uid: azure.ai.ml.entities.ParameterizedCommand
name: ParameterizedCommand
fullName: azure.ai.ml.entities.ParameterizedCommand
module: azure.ai.ml.entities
inheritances:
- builtins.object
summary: 'Command component version that contains the command and supporting parameters
for a Command component
or job.
This class should not be instantiated directly. Instead, use the child class
~azure.ai.ml.entities.CommandComponent.'
constructor:
syntax: 'ParameterizedCommand(command: str | None = '''', resources: dict | JobResourceConfiguration
| None = None, code: PathLike | str | None = None, environment_variables: Dict
| None = None, distribution: Dict | MpiDistribution | TensorFlowDistribution |
PyTorchDistribution | RayDistribution | DistributionConfiguration | None = None,
environment: Environment | str | None = None, queue_settings: QueueSettings |
None = None, **kwargs: Dict)'
parameters:
- name: command
description: The command to be executed. Defaults to "".
isRequired: true
types:
- <xref:str>
- name: resources
description: The compute resource configuration for the command.
defaultValue: None
types:
- <xref:typing.Optional>[<xref:typing.Union>[<xref:dict>, <xref:azure.ai.ml.entities.JobResourceConfiguration>]]
- name: code
description: 'The source code to run the job. Can be a local path or "http:",
"https:", or "azureml:" url pointing
to a remote location.'
defaultValue: None
types:
- <xref:typing.Optional>[<xref:str>]
- name: environment_variables
description: 'A dictionary of environment variable names and values.
These environment variables are set on the process where user script is being
executed.'
defaultValue: None
types:
- <xref:typing.Optional>[<xref:dict>[<xref:str>, <xref:str>]]
- name: distribution
description: The distribution configuration for distributed jobs.
defaultValue: None
types:
- <xref:typing.Optional>[<xref:typing.Union>[<xref:dict>, <xref:azure.ai.ml.PyTorchDistribution>,
<xref:azure.ai.ml.MpiDistribution>, <xref:azure.ai.ml.TensorFlowDistribution>,
<xref:azure.ai.ml.RayDistribution>]]
- name: environment
description: The environment that the job will run in.
defaultValue: None
types:
- <xref:typing.Optional>[<xref:typing.Union>[<xref:str>, <xref:azure.ai.ml.entities.Environment>]]
- name: queue_settings
description: The queue settings for the job.
defaultValue: None
types:
- <xref:typing.Optional>[<xref:azure.ai.ml.entities.QueueSettings>]
keywordOnlyParameters:
- name: kwargs
description: A dictionary of additional configuration parameters.
types:
- <xref:dict>
attributes:
- uid: azure.ai.ml.entities.ParameterizedCommand.distribution
name: distribution
summary: The configuration for the distributed command component or job.
return:
description: The distribution configuration.
types:
- <xref:typing.Union>[<xref:azure.ai.ml.PyTorchDistribution>, <xref:azure.ai.ml.MpiDistribution>,
<xref:azure.ai.ml.TensorFlowDistribution>, <xref:azure.ai.ml.RayDistribution>]
- uid: azure.ai.ml.entities.ParameterizedCommand.resources
name: resources
summary: The compute resource configuration for the command component or job.
return:
description: The compute resource configuration for the command component or job.
types:
- <xref:azure.ai.ml.entities.JobResourceConfiguration>