We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17eef3a commit 4098a03Copy full SHA for 4098a03
python/paddle/v2/parameters.py
@@ -325,9 +325,9 @@ def to_tar(self, f):
325
"""
326
Save parameters to a tar file.
327
328
- WARNING: Do not use this function to save parameters directly unless you
329
- know exactly what you are doing. `paddle.v2.trainer.SGD.save_parameter_to_tar(f)`
330
- 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.
331
332
:param f:
333
:type f: file
0 commit comments