You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2018/07/03 19:57:41 UTC
[incubator-mxnet] branch master updated: Update block.py (#11540)
This is an automated email from the ASF dual-hosted git repository.
zhasheng 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 5df5f2e Update block.py (#11540)
5df5f2e is described below
commit 5df5f2e67d129ae0abb93d11d24ce1693bba4dc5
Author: Eric Junyuan Xie <pi...@users.noreply.github.com>
AuthorDate: Tue Jul 3 12:57:33 2018 -0700
Update block.py (#11540)
---
python/mxnet/gluon/block.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/python/mxnet/gluon/block.py b/python/mxnet/gluon/block.py
index ad48b76..f83d46a 100644
--- a/python/mxnet/gluon/block.py
+++ b/python/mxnet/gluon/block.py
@@ -343,7 +343,9 @@ class Block(object):
"""
warnings.warn("save_params is deprecated. Please use save_parameters. "
"Note that if you want load from SymbolBlock later, please "
- "use export instead.")
+ "use export instead. For details, see "
+ "https://mxnet.incubator.apache.org/tutorials/gluon/save_lo"
+ "ad_params.html")
try:
self.collect_params().save(filename, strip_prefix=self.prefix)
except ValueError as e: