未验证 提交 6fafbdc3 编写于 作者: P pangyoki 提交者: GitHub

change np.int to int to fix paddle warning (#31221)

上级 0c38708a
...@@ -23,7 +23,7 @@ from ..layer_helper import LayerHelper ...@@ -23,7 +23,7 @@ from ..layer_helper import LayerHelper
from sys import version_info from sys import version_info
def convert_to_list(value, n, name, dtype=np.int): def convert_to_list(value, n, name, dtype=int):
""" """
Converts a single numerical type or iterable of numerical Converts a single numerical type or iterable of numerical
types into an numerical type list. types into an numerical type list.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册