-
Notifications
You must be signed in to change notification settings - Fork 234
/
azure.ai.ml.entities.ModelConfiguration.yml
40 lines (36 loc) · 1.58 KB
/
azure.ai.ml.entities.ModelConfiguration.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
### YamlMime:PythonClass
uid: azure.ai.ml.entities.ModelConfiguration
name: ModelConfiguration
fullName: azure.ai.ml.entities.ModelConfiguration
module: azure.ai.ml.entities
inheritances:
- builtins.object
summary: '> [!NOTE]
> This is an experimental class, and may change at any time. Please see [https://aka.ms/azuremlexperimental](https://aka.ms/azuremlexperimental)
for more information.
>
ModelConfiguration.'
constructor:
syntax: 'ModelConfiguration(*, mode: str | None = None, mount_path: str | None =
None)'
parameters:
- name: mode
description: 'The mode of the model. Possible values include: "Copy", "Download".'
isRequired: true
types:
- <xref:str>
- name: mount_path
description: The mount path of the model.
isRequired: true
types:
- <xref:str>
examples:
- "Creating a Model Configuration object.<!--[!code-python[Main](les\\ml_samples_misc.py\
\ )]-->\n\n<!-- literal_block {\"ids\": [], \"classes\": [], \"names\": [], \"dupnames\"\
: [], \"backrefs\": [], \"source\": \"C:\\\\hostedtoolcache\\\\windows\\\\Python\\\
\\3.11.9\\\\x64\\\\Lib\\\\site-packages\\\\py2docfx\\\\dist_temp\\\\8\\\\azure-ai-ml-1.17.0\\\
\\samples\\\\ml_samples_misc.py\", \"xml:space\": \"preserve\", \"force\": false,\
\ \"language\": \"python\", \"highlight_args\": {\"linenostart\": 1}, \"linenos\"\
: false} -->\n\n````python\n\n from azure.ai.ml.entities._assets._artifacts._package.model_configuration\
\ import ModelConfiguration\n\n modelConfiguration = ModelConfiguration(mode=\"\
model-mode\", mount_path=\"model-mount-path\")\n\n ````\n"