Skip to content

Commit 5d48b5e

Browse files
author
Deng
committed
address comments
1 parent 88bafc0 commit 5d48b5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/using_pytorch.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,8 @@ If you implement your own prediction function, you should take care to ensure th
474474
first argument to ``output_fn``. If you use the default
475475
``output_fn``, this should be a torch.Tensor.
476476

477-
The default Elastic Inference ``predict_fn`` is similar but using TorchScript and ``torch.jit.optimized_execution``
478-
to load the output. If you are implementing your own ``predict_fn``, please also use the ``torch.jit.optimized_execution``
477+
The default Elastic Inference ``predict_fn`` is similar but runs the TorchScript model using ``torch.jit.optimized_execution``.
478+
If you are implementing your own ``predict_fn``, please also use the ``torch.jit.optimized_execution``
479479
block, for example:
480480

481481
.. code:: python

0 commit comments

Comments
 (0)