Skip to content

Commit 95671e0

Browse files
authored
doc: document name changes for TFS classes (#1756)
1 parent 0a0d7ec commit 95671e0

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

doc/v2.rst

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,34 @@ Specify Custom Serving Image
187187

188188
The ``image`` parameter has been renamed to ``image_uri`` for specifying a custom Docker image URI to use with inference.
189189

190+
TensorFlow Serving Model
191+
~~~~~~~~~~~~~~~~~~~~~~~~
192+
193+
``sagemaker.tensorflow.serving.Model`` has been renamed to :class:`sagemaker.tensorflow.model.TensorFlowModel`.
194+
(For the previous implementation of that class, see `Deprecate Legacy TensorFlow <#deprecate-legacy-tensorflow>`_).
195+
190196
Predictors
191197
----------
192198

199+
Generic Predictor Class Name
200+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
201+
193202
``sagemaker.predictor.RealTimePredictor`` has been renamed to :class:`sagemaker.predictor.Predictor`.
194203

195-
In addition, for :class:`sagemaker.predictor.Predictor`, :class:`sagemaker.sparkml.model.SparkMLPredictor`,
204+
Endpoint Argument Name
205+
~~~~~~~~~~~~~~~~~~~~~~
206+
207+
For :class:`sagemaker.predictor.Predictor`, :class:`sagemaker.sparkml.model.SparkMLPredictor`,
196208
and predictors for Amazon algorithm (e.g. Factorization Machines, Linear Learner, etc.),
197209
the ``endpoint`` attribute has been renamed to ``endpoint_name``.
198210

211+
TensorFlow Serving Predictor
212+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
213+
214+
``sagemaker.tensorflow.serving.Predictor`` has been renamed to :class:`sagemaker.tensorflow.model.TensorFlowPredictor`.
215+
(For the previous implementation of that class, see `Deprecate Legacy TensorFlow <#deprecate-legacy-tensorflow>`_).
216+
217+
199218
Airflow
200219
-------
201220

0 commit comments

Comments
 (0)