提交 93fc82b8 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!1447 remove unused variable

Merge pull request !1447 from yihuaijie/master
...@@ -49,7 +49,7 @@ def loop_config(size): ...@@ -49,7 +49,7 @@ def loop_config(size):
config_list = [] config_list = []
num = 1 num = 1
split_list = [num] split_list = [num]
for i in range(int(math.log2(size))): for _ in range(int(math.log2(size))):
num = num * 2 num = num * 2
split_list.append(num) split_list.append(num)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册