LeakyReLU () output = layer([-3.0, -1.0, 0.0, 2.0]) list(output.numpy()) [-0.9, -0.3, 0.0, 2.0] layer = tf.keras.layers.LeakyReLU(alpha=0.1)
確定! 回上一頁