CH05-20240912T152157Z-001.zip
import tensorflow as tf import matplotlib.pyplot as plt x = tf.linspace(-10.,10,100) y = tf.nn.sigmoid(x) plt.plot(x,y) plt.xlabel("x") plt.ylabel("Sigmoid(x)") plt.title("Sigmoid Function") plt.grid() plt.show()