nswamy commented on a change in pull request #11548: MXNet Release-1.2.1 patch
URL: https://github.com/apache/incubator-mxnet/pull/11548#discussion_r199979698
##########
File path: python/mxnet/gluon/block.py
##########
@@ -327,14 +327,19 @@ def save_parameters(self, filename):
ndarray.save(filename, arg_dict)
def save_params(self, filename):
- """[Deprecated] Please use save_parameters.
+ """[Deprecated] Please use save_parameters. Note that if you want load
+ from SymbolBlock later, please use export instead.
Save parameters to file.
filename : str
Path to file.
"""
- warnings.warn("save_params is deprecated. Please use save_parameters.")
+ warnings.warn("save_params is deprecated. Please use save_parameters. "
+ "Note that if you want load from SymbolBlock later,
please "
Review comment:
nit: want load ->`want to load`
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services