未验证 提交 141396e9 编写于 作者: I Ikko Ashimine 提交者: GitHub

Fix typo in trainer.rst (#2121)

deafult -> default
上级 f84a7383
......@@ -71,7 +71,7 @@ train
Number of subprocess to load data, default is 0.
* eval_dataset(paddle.io.Dataset)
The validation dataset, deafult is None. If set, the Trainer will execute evaluate function every `save_interval` epochs.
The validation dataset, default is None. If set, the Trainer will execute evaluate function every `save_interval` epochs.
* log_interval(int)
Log the train infomation every `log_interval` steps.
......@@ -106,4 +106,4 @@ evaluate
Number of subprocess to load data, default is 0.
* collate_fn(Callable)
function to generate mini-batch data by merging the sample list. None for only stack each fields of sample in axis 0(same as :attr::`np.stack(..., axis=0)`). Default None.
\ No newline at end of file
function to generate mini-batch data by merging the sample list. None for only stack each fields of sample in axis 0(same as :attr::`np.stack(..., axis=0)`). Default None.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册