提交 4098a039 编写于 作者: P Peng Li

refine the warning message

上级 17eef3a3
...@@ -325,9 +325,9 @@ class Parameters(object): ...@@ -325,9 +325,9 @@ class Parameters(object):
""" """
Save parameters to a tar file. Save parameters to a tar file.
WARNING: Do not use this function to save parameters directly unless you WARNING: You should use `paddle.v2.trainer.SGD.save_parameter_to_tar(f)`
know exactly what you are doing. `paddle.v2.trainer.SGD.save_parameter_to_tar(f)` to save parameters most of the time. Otherwise, some settings such
should be used instead. as model average will not take effect.
:param f: :param f:
:type f: file :type f: file
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册