keras-attention
keras-attention copied to clipboard
cannot import name 'Layer' from 'keras.engine'
I want to add a custom attention layer to my model but when I run the code in https://github.com/datalogue/keras-attention/issues/15 (mzbac commented on Feb 8, 2018), I received the following error cannot import name 'Layer' from 'keras.engine' I think the problem is with importing Recurrent from keras.layers.recurrent any suggestions to solve this issue?
Do you konw how to solve this problem?