def sigmoid(x): result = 1 / (1 + math.e ** (-x)) return result '''defplot_softmax():x = np.linspace(-10,10,200) y = softmax(x) plt.plot(x, y, label="softmax", linestyle='-', color='blue') plt.legend() plt.save