原文链接:https://www.cnblogs.com/stupidwf/p/15353918.html
np.int报错如下:
DeprecationWarning: inp.int is a deprecated alias for the buitin int . To silence this warning, use int by itself.Doing this will notmodify any behavior and is safe.
解决方法:
将 np.int 改为 np.int_ 或者 np.int32 或者 np.int64。