You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ns...@apache.org on 2018/11/09 05:11:50 UTC

[incubator-mxnet] branch master updated: Fix #12944, Fix Sphinx python docstring formatting error. (#13174)

This is an automated email from the ASF dual-hosted git repository.

nswamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 34d24b4  Fix #12944, Fix Sphinx python docstring formatting error. (#13174)
34d24b4 is described below

commit 34d24b4af3bb3128f72de067c829fdd9472f4988
Author: Frank Liu <fr...@gmail.com>
AuthorDate: Thu Nov 8 21:11:38 2018 -0800

    Fix #12944, Fix Sphinx python docstring formatting error. (#13174)
---
 python/mxnet/gluon/parameter.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/python/mxnet/gluon/parameter.py b/python/mxnet/gluon/parameter.py
index f53eeb0..b57defa 100644
--- a/python/mxnet/gluon/parameter.py
+++ b/python/mxnet/gluon/parameter.py
@@ -740,9 +740,9 @@ class ParameterDict(object):
         return param
 
     def get_constant(self, name, value=None):
-        """Retrieves a :py:class:`Constant` with name ``self.prefix+name``. If not found,
+        """Retrieves a :py:class:`.Constant` with name ``self.prefix+name``. If not found,
         :py:func:`get` will first try to retrieve it from "shared" dict. If still not
-        found, :py:func:`get` will create a new :py:class:`Constant` with key-word
+        found, :py:func:`get` will create a new :py:class:`.Constant` with key-word
         arguments and insert it to self.
 
         Parameters
@@ -756,7 +756,7 @@ class ParameterDict(object):
         Returns
         -------
         Constant
-            The created or retrieved :py:class:`Constant`.
+            The created or retrieved :py:class:`.Constant`.
         """
         name = self.prefix + name
         param = self._get_impl(name)