激活函数可以通过设置单独的激活层实现,也可以在构造层对象时通过传递 activation 参数实现: from keras.layers import Activation, Dense model.add(Dense(64)) ...
確定! 回上一頁