Skip to content

Commit ad8fdf4

Browse files
imujjwal96pengk19
authored andcommitted
documentation: fix docs in regards to transform_fn for mxnet (aws#790)
1 parent b5cb1b7 commit ad8fdf4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/using_mxnet.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -688,8 +688,7 @@ The default implementation expects ``prediction`` to be an ``NDArray`` and can s
688688
Using ``transform_fn``
689689
''''''''''''''''''''''
690690

691-
If you would rather not structure your code around the three methods described above, you can instead define your own ``transform_fn`` to handle inference requests.
692-
This will override any implementation of ``input_fn``, ``predict_fn``, or ``output_fn``.
691+
If you would rather not structure your code around the three methods described above, you can instead define your own ``transform_fn`` to handle inference requests. An error will be thrown if a ``transform_fn`` is present in conjunction with any ``input_fn``, ``predict_fn``, and/or ``output_fn``.
693692
``transform_fn`` has the following signature:
694693

695694
.. code:: python

0 commit comments

Comments
 (0)