未验证 提交 b48ab36b 编写于 作者: W wangchaochaohu 提交者: GitHub

fix the typo test=develop (#26310)

上级 6de463d3
...@@ -4866,7 +4866,7 @@ def split(input, num_or_sections, dim=-1, name=None): ...@@ -4866,7 +4866,7 @@ def split(input, num_or_sections, dim=-1, name=None):
check_variable_and_dtype( check_variable_and_dtype(
input, 'input', input, 'input',
['bool', 'float16', 'float32', 'float64', 'int32', 'in64'], 'split') ['bool', 'float16', 'float32', 'float64', 'int32', 'int64'], 'split')
check_type(num_or_sections, 'num_or_sections', (list, int, tuple), 'split') check_type(num_or_sections, 'num_or_sections', (list, int, tuple), 'split')
check_type(dim, 'dim', (int, Variable), 'split') check_type(dim, 'dim', (int, Variable), 'split')
if isinstance(dim, Variable): if isinstance(dim, Variable):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册