refine the warning message

revert-4814-Add_sequence_project_op
Peng Li 8 years ago
parent 17eef3a3f4
commit 4098a03964

@ -325,9 +325,9 @@ class Parameters(object):
"""
Save parameters to a tar file.
WARNING: Do not use this function to save parameters directly unless you
know exactly what you are doing. `paddle.v2.trainer.SGD.save_parameter_to_tar(f)`
should be used instead.
WARNING: You should use `paddle.v2.trainer.SGD.save_parameter_to_tar(f)`
to save parameters most of the time. Otherwise, some settings such
as model average will not take effect.
:param f:
:type f: file

Loading…
Cancel
Save