Skip to content

Commit cc1a974

Browse files
authored
Merge pull request #51 from AmeerHajAli/patch-1
tensorflow 2.0 not having attribute python
2 parents cab3bbd + 94dcc8f commit cc1a974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keras_attention_layer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import tensorflow as tf
22
from tensorflow.python import keras
33
from tensorflow.python.keras.layers import Layer
4-
import tensorflow.python.keras.backend as K
4+
from tensorflow.python.keras import backend as K
55
from typing import Optional
66

77

0 commit comments

Comments
 (0)