!10441 modify function train comment

From: @changzherui
Reviewed-by: @zh_qh,@kingxian
Signed-off-by: @kingxian
pull/10441/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit bd1ad0ea19

@ -554,7 +554,8 @@ class Model:
returned and passed to the network. Otherwise, a tuple (data, label) should returned and passed to the network. Otherwise, a tuple (data, label) should
be returned. The data and label would be passed to the network and loss be returned. The data and label would be passed to the network and loss
function respectively. function respectively.
callbacks (list): List of callback objects which should be executed while training. Default: None. callbacks (list, object): List of callback objects or callback object, which should be executed
while training. Default: None.
dataset_sink_mode (bool): Determines whether to pass the data through dataset channel. Default: True. dataset_sink_mode (bool): Determines whether to pass the data through dataset channel. Default: True.
Configure pynative mode or CPU, the training process will be performed with Configure pynative mode or CPU, the training process will be performed with
dataset not sink. dataset not sink.

Loading…
Cancel
Save