Skip to content

Commit abdeece

Browse files
authored
fix example in ads docs (#34)
2 parents d4b564e + d99b39c commit abdeece

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/source/user_guide/apachespark/dataflow-spark-magic.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ To connect to the existing session use the `%use_session` magic command.
239239

240240
.. code-block:: python
241241
242-
%use_session -s "<application_id>"
242+
%use_session -s <application_id>
243243
244244
245245
Basic Spark Usage Examples

docs/source/user_guide/model_registration/quick_start.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ Create a model, prepare it, verify that it works, save it to the model catalog,
139139
artifact_dir=tempfile.mkdtemp()
140140
torch_model = PyTorchModel(torch_estimator, artifact_dir=artifact_dir)
141141
142-
# Autogenerate score.py, pickled model, runtime.yaml, input_schema.json and output_schema.json
143-
# Set `save_entire_model` to `True` to save the model as Torchscript program.
142+
# Autogenerate score.py, serialized model, runtime.yaml
143+
# Set `use_torch_script` to `True` to save the model as Torchscript program.
144144
torch_model.prepare(inference_conda_env="pytorch110_p38_cpu_v1", use_torch_script=True)
145145
146146
# Verify generated artifacts

0 commit comments

Comments
 (0)