may be last version

By completing the thesis, we have corrected the deficiencies and fixed some bugs.
This commit is contained in:
weiyuqing committed 2023-04-18 18:43:14 +08:00
1 parent a13e1ace47
commit af187d92e9
49 files changed
+129 -7

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import numpy as np
import matplotlib.pyplot as plt
def softmax(x):
return np.exp(x) / np.sum(np.exp(x))
x = np.arange(-10, 10, 0.1)
y = softmax(x)
plt.plot(x, y)
plt.title('Softmax Function')
plt.xlabel('Input')
plt.ylabel('Output')
plt.show()