未验证 提交 eeb2c923 编写于 作者: W wuzewu 提交者: GitHub

fix strategy bug

......@@ -102,6 +102,8 @@ def get_depth_parameter(main_program):
depth_list = sorted(depth_params_dict.keys())
len_depth_list = len(depth_list)
for index, depth in enumerate(depth_list):
if depth not in updated_depth_params_dict:
continue
for param in depth_params_dict[depth]:
prefix = param.name.split(".")[0]
if index < len_depth_list - 1:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册