📌  相关文章
📜  TypeError: add() got an unexpected keyword argument 'kernel_regularizer' - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:25.956000             🧑  作者: Mango

代码示例1
self.model.add(Dense(32, activation='relu', input_dim=self.x_train_std.shape[1], kernel_regularizer=regularizers.l2(0.01)))