modify note

This commit is contained in:
liuyang_655 2020-09-11 19:30:30 +08:00
parent 3c7b668d63
commit 4742a5cac3
1 changed files with 2 additions and 2 deletions

View File

@ -147,9 +147,9 @@ def save_checkpoint(save_obj, ckpt_file_name, integrated_save=True, async_save=F
Args:
save_obj (nn.Cell or list): The train network for training or parameters list(each element is a dictionary,
like {"name":xx, "type":xx, "shape":xx, "data":xx}.)
like {"name":xx, "data":xx}.)
ckpt_file_name (str): Checkpoint file name.
integrated_save (bool): Whether to integrated save in automatic model parallel scene.
integrated_save (bool): Whether to integrated save in automatic model parallel scene. Default: True
async_save (bool): Whether asynchronous execution saves the checkpoint to a file. Default: False
Raises: