You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/11/12 22:38:09 UTC

[GitHub] nswamy closed pull request #13230: Revert "Sphinx failure fixes"

nswamy closed pull request #13230: Revert "Sphinx failure fixes"
URL: https://github.com/apache/incubator-mxnet/pull/13230
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/api/python/ndarray/ndarray.md b/docs/api/python/ndarray/ndarray.md
index 9d3059f8b48..01a154405cf 100644
--- a/docs/api/python/ndarray/ndarray.md
+++ b/docs/api/python/ndarray/ndarray.md
@@ -704,14 +704,12 @@ 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 b366dfde672..ff93d0be6d7 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')
-    ``[<NDArray 2x3 @cpu(0)>, <NDArray 1x4 @cpu(0)>]``
+    [<NDArray 2x3 @cpu(0)>, <NDArray 1x4 @cpu(0)>]
     >>> mx.nd.load('my_dict')
-    ``{'y': <NDArray 1x4 @cpu(0)>, 'x': <NDArray 2x3 @cpu(0)>}``
+    {'y': <NDArray 1x4 @cpu(0)>, 'x': <NDArray 2x3 @cpu(0)>}
     """
     if isinstance(data, NDArray):
         data = [data]


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services