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: README.rst
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -192,6 +192,37 @@ Here is an end to end example of how to use a SageMaker Estimator:
192
192
# Tears down the SageMaker endpoint
193
193
mxnet_estimator.delete_endpoint()
194
194
195
+
196
+
Additionally, it is possible to deploy a different endpoint configuration, which links to your model, to an already existing SageMaker endpoint.
197
+
This can be done by specifying the existing endpoint name for the ``endpoint_name`` parameter along with the ``update_endpoint`` parameter as ``True`` within your ``deploy()`` call.
198
+
For more `information <https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.update_endpoint>`__.
199
+
200
+
.. code:: python
201
+
202
+
from sagemaker.mxnet import MXNet
203
+
204
+
# Configure an MXNet Estimator (no training happens yet)
205
+
mxnet_estimator = MXNet('train.py',
206
+
role='SageMakerRole',
207
+
train_instance_type='ml.p2.xlarge',
208
+
train_instance_count=1,
209
+
framework_version='1.2.1')
210
+
211
+
# Starts a SageMaker training job and waits until completion.
0 commit comments