创建后,使用model.fit()方法训练模型:
model.fit()
model.fit(X_train, Y_train, n_epoch=n_epochs, batch_size=batch_size, show_metric=True, run_id='dense_model')