From d34eafb16d1d8401d31abf4420a1d9773b8fa578 Mon Sep 17 00:00:00 2001 From: Vamshidhar Dantu Date: Fri, 9 Nov 2018 21:09:49 -0800 Subject: [PATCH] Sphinx failure fixes --- docs/api/python/ndarray/ndarray.md | 2 ++ python/mxnet/ndarray/utils.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/api/python/ndarray/ndarray.md b/docs/api/python/ndarray/ndarray.md index 01a154405cf3..9d3059f8b484 100644 --- a/docs/api/python/ndarray/ndarray.md +++ b/docs/api/python/ndarray/ndarray.md @@ -704,12 +704,14 @@ The `ndarray` package provides several classes: .. automodule:: mxnet.ndarray :members: + :noindex: :imported-members: :special-members: :exclude-members: CachedOp, NDArray .. automodule:: mxnet.random :members: + :noindex: ``` diff --git a/python/mxnet/ndarray/utils.py b/python/mxnet/ndarray/utils.py index ff93d0be6d73..b366dfde672e 100644 --- a/python/mxnet/ndarray/utils.py +++ b/python/mxnet/ndarray/utils.py @@ -244,9 +244,9 @@ def save(fname, data): >>> mx.nd.save('my_list', [x,y]) >>> mx.nd.save('my_dict', {'x':x, 'y':y}) >>> mx.nd.load('my_list') - [, ] + ``[, ]`` >>> mx.nd.load('my_dict') - {'y': , 'x': } + ``{'y': , 'x': }`` """ if isinstance(data, NDArray): data = [data]