1.使用 Numpy 的 Python 基础知识1234import mathdef basic_sigmoid(x): s = 1/(1+math.exp(-x)) #math.exp(x):为e的x次方 print(s)
2025-05-06