From 847efabcabce8d62f4a9f69d8c4c5b7327d29508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E4=BA=9A=E4=BA=91?= <563880696@qq.com> Date: Mon, 13 Jul 2020 14:10:04 +0800 Subject: [PATCH] Edit by browser --- MindSpore/src/step2/step2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MindSpore/src/step2/step2.py b/MindSpore/src/step2/step2.py index 075c50d..38bb9fb 100644 --- a/MindSpore/src/step2/step2.py +++ b/MindSpore/src/step2/step2.py @@ -14,7 +14,7 @@ if __name__ == "__main__": # 请在此添加代码完成本关任务 #********** Begin *********# ## 提示:补全损失函数的定义 - + net_loss = #********** End **********# repeat_size = epoch_size # create the network @@ -23,7 +23,7 @@ if __name__ == "__main__": # 请在此添加代码完成本关任务 #********** Begin *********# ## 提示:补全优化器的定义,使用 Momentum 优化器 - + net_opt = #********** End **********# config_ck = CheckpointConfig(save_checkpoint_steps=1875, keep_checkpoint_max=10)