You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1957,12 +1957,10 @@ You can provide your own implementations for these functions in your hosting scr
1957
1957
If you omit any definition then the SageMaker Chainer model server will use its default implementation for that
1958
1958
function.
1959
1959
1960
-
The ``RealTimePredictor`` used by Chainer in the SageMaker Python SDK serializes NumPy arrays to the NPY_ format
1960
+
The ``RealTimePredictor`` used by Chainer in the SageMaker Python SDK serializes NumPy arrays to the `NPY <https://docs.scipy.org/doc/numpy/neps/npy-format.html>`_ format
1961
1961
by default, with Content-Type ``application/x-npy``. The SageMaker Chainer model server can deserialize NPY-formatted
If you rely solely on the SageMaker Chainer model server defaults, you get the following functionality:
1967
1965
1968
1966
- Prediction on models that implement the ``__call__`` method
@@ -1998,7 +1996,7 @@ Where ``request_body`` is a byte buffer and ``request_content_type`` is a Python
1998
1996
The SageMaker Chainer model server provides a default implementation of ``input_fn``.
1999
1997
This function deserializes JSON, CSV, or NPY encoded data into a NumPy array.
2000
1998
2001
-
Default NPY deserialization requires ``request_body`` to follow the NPY_ format. For Chainer, the Python SDK
1999
+
Default NPY deserialization requires ``request_body`` to follow the `NPY <https://docs.scipy.org/doc/numpy/neps/npy-format.html>`_ format. For Chainer, the Python SDK
2002
2000
defaults to sending prediction requests with this format.
2003
2001
2004
2002
Default json deserialization requires ``request_body`` contain a single json list.
0 commit comments