From bbfe18a68832e13187898e1aa28e56927da53882 Mon Sep 17 00:00:00 2001 From: Ujjwal Bhardwaj Date: Fri, 10 May 2019 17:04:45 +0000 Subject: [PATCH] documentation: fix docs in regards to transform_fn for mxnet --- doc/using_mxnet.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/using_mxnet.rst b/doc/using_mxnet.rst index 0a5a7746c1..839b2dfe21 100644 --- a/doc/using_mxnet.rst +++ b/doc/using_mxnet.rst @@ -688,8 +688,7 @@ The default implementation expects ``prediction`` to be an ``NDArray`` and can s Using ``transform_fn`` '''''''''''''''''''''' -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. -This will override any implementation of ``input_fn``, ``predict_fn``, or ``output_fn``. +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``. ``transform_fn`` has the following signature: .. code:: python