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

test_model_benchmark_ci
pangyoki 4 years ago committed by GitHub
parent 0c38708a90
commit 6fafbdc39e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,7 +23,7 @@ from ..layer_helper import LayerHelper
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
types into an numerical type list.

Loading…
Cancel
Save