未验证 提交 2b4d8874 编写于 作者: L lujun 提交者: GitHub

Merge pull request #16551 from wopeizl/remove_useless_check

remove the useless check 
...@@ -798,7 +798,7 @@ class Variable(object): ...@@ -798,7 +798,7 @@ class Variable(object):
newitem = self._reconstructSliceinfo(item) or item newitem = self._reconstructSliceinfo(item) or item
if fixedSize: if fixedSize:
check, info = self._detectContinuesSlice(newitem) check, info = self._detectContinuesSlice(newitem)
if check and fixedSize: if check:
starts = info[0] starts = info[0]
ends = info[1] ends = info[1]
axes = [i for i in range(len(starts))] axes = [i for i in range(len(starts))]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册