np.int发出DeprecationWarning警告
原文链接: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.
原创
2022-03-22 14:53:04 ·
4785 阅读 ·
0 评论