Skip to content

Commit

Permalink
fix: update using_mxnet.rst (#1069)
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-haibin-lin authored and chuyang-deng committed Oct 1, 2019
1 parent b797a71 commit bd9495c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/using_mxnet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ If you provide your own implementation of input_fn, you should abide by the ``in
"""An input_fn that loads a pickled numpy array"""
if request_content_type == 'application/python-pickle':
array = np.load(StringIO(request_body))
array.reshape(model.data_shpaes[0])
array.reshape(model.data_shapes[0])
return mx.io.NDArrayIter(mx.ndarray(array))
else:
# Handle other content-types here or raise an Exception
Expand Down

0 comments on commit bd9495c

Please sign in to comment.