You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/batch-inference/how-to-use-batch-endpoint.md
+32-30Lines changed: 32 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,37 +54,39 @@ You can follow along this sample in the following notebooks. In the cloned repos
54
54
55
55
### Connect to your workspace
56
56
57
-
1.First, let's connect to Azure Machine Learning workspace where we are going to work on.
57
+
First, let's connect to Azure Machine Learning workspace where we are going to work on.
58
58
59
-
# [Azure ML CLI](#tab/cli)
60
-
61
-
```azurecli
62
-
az account set --subscription <subscription>
63
-
az configure --defaults workspace=<workspace> group=<resource-group> location=<location>
64
-
```
65
-
66
-
# [Azure ML SDK for Python](#tab/sdk)
67
-
68
-
The workspace is the top-level resource for Azure Machine Learning, providing a centralized place to work with all the artifacts you create when you use Azure Machine Learning. In this section, we'll connect to the workspace in which you'll perform deployment tasks.
69
-
70
-
1. Import the required libraries:
71
-
72
-
```python
73
-
from azure.ai.ml import MLClient, Input
74
-
from azure.ai.ml.entities import BatchEndpoint, BatchDeployment, Model, AmlCompute, Data, BatchRetrySettings
75
-
from azure.ai.ml.constants import AssetTypes, BatchDeploymentOutputAction
76
-
from azure.identity import DefaultAzureCredential
77
-
```
78
-
79
-
2. Configure workspace details and get a handle to the workspace:
az configure --defaults workspace=<workspace> group=<resource-group> location=<location>
64
+
```
65
+
66
+
# [Azure ML SDK for Python](#tab/sdk)
67
+
68
+
The workspace is the top-level resource for Azure Machine Learning, providing a centralized place to work with all the artifacts you create when you use Azure Machine Learning. In this section, we'll connect to the workspace in which you'll perform deployment tasks.
69
+
70
+
1. Import the required libraries:
71
+
72
+
```python
73
+
from azure.ai.ml import MLClient, Input
74
+
from azure.ai.ml.entities import BatchEndpoint, BatchDeployment, Model, AmlCompute, Data, BatchRetrySettings
75
+
from azure.ai.ml.constants import AssetTypes, BatchDeploymentOutputAction
76
+
from azure.identity import DefaultAzureCredential
77
+
```
78
+
79
+
2. Configure workspace details and get a handle to the workspace:
0 commit comments