From ec309ea4344bba8d0c99af7dab35f746f1e9996e Mon Sep 17 00:00:00 2001 From: Macropodus <31341349+yongzhuo@users.noreply.github.com> Date: Fri, 1 Apr 2022 21:46:12 +0800 Subject: [PATCH] modify engine to layers --- keras_textclassification/m03_CharCNN/graph_yoon_kim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keras_textclassification/m03_CharCNN/graph_yoon_kim.py b/keras_textclassification/m03_CharCNN/graph_yoon_kim.py index b93472d..fc8fc31 100644 --- a/keras_textclassification/m03_CharCNN/graph_yoon_kim.py +++ b/keras_textclassification/m03_CharCNN/graph_yoon_kim.py @@ -11,7 +11,7 @@ import keras import numpy as np from keras import backend as K from keras import regularizers -from keras.engine import Layer +from keras.layers import Layer from keras.initializers import Constant from keras.layers import Bidirectional, GRU # char cnn