使用 softmax 作为 tf.keras 中的连续层和使用 softmax 作为密集层的激活函数有什么区别?
tf.keras.layers.Dense(10, activation=tf.nn.softmax)
和
tf.keras.layers.Softmax(10)
python machine-learning computer-vision keras tensorflow
computer-vision ×1
keras ×1
machine-learning ×1
python ×1
tensorflow ×1