From 5a5dae25a8b3582c675275715716e2410f8c2475 Mon Sep 17 00:00:00 2001 From: Frank Liu Date: Wed, 7 Nov 2018 21:24:03 -0800 Subject: [PATCH] Fix #12944, Fix Sphinx python docstring formatting error. --- 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 f53eeb00694a..b57defa54988 100644 --- a/python/mxnet/gluon/parameter.py +++ b/python/mxnet/gluon/parameter.py @@ -740,9 +740,9 @@ def get(self, name, **kwargs): 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 @@ def get_constant(self, name, value=None): 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)