指数:
math.exp() 只能对一个数求指数,不能对数组进行批量求指数
numpy.exp()既能对一个数求指数,也能对数组进行批量求指数
对数:
math.log()
numpy.log()
作用同上
在这里插入图片描述
在这里插入图片描述

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐