Skip to content

Commit bd9495c

Browse files
eric-haibin-linchuyang-deng
authored andcommitted
fix: update using_mxnet.rst (#1069)
1 parent b797a71 commit bd9495c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/using_mxnet.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ If you provide your own implementation of input_fn, you should abide by the ``in
567567
"""An input_fn that loads a pickled numpy array"""
568568
if request_content_type == 'application/python-pickle':
569569
array = np.load(StringIO(request_body))
570-
array.reshape(model.data_shpaes[0])
570+
array.reshape(model.data_shapes[0])
571571
return mx.io.NDArrayIter(mx.ndarray(array))
572572
else:
573573
# Handle other content-types here or raise an Exception

0 commit comments

Comments
 (0)