1 import matplotlib.pyplot as plt  
2 import numpy as np 
3 # 生成x数据
4 x = np.linspace(-10,10,100)
5 y = np.tanh(x)
6 plt.plot(x,y)
7 plt.show()

tanh函数

相关文章:

  • 2021-07-27
  • 2021-11-13
  • 2021-09-10
  • 2021-08-06
  • 2021-12-25
  • 2021-06-18
  • 2021-08-12
  • 2021-08-27
猜你喜欢
  • 2021-05-17
  • 2021-10-11
  • 2021-07-10
  • 2021-06-11
  • 2021-10-21
  • 2021-12-06
  • 2021-08-19
相关资源
相似解决方案