【Python】使用numpy时警告:RuntimeWarning溢出报错的屏蔽方法

写sigmoid函数时候遇到溢出,屏幕打印一长串的RuntimeWarning,很难受。尝试了try…exceptRuntimeWarning:pass。没用。

返回顶部