Commit 94dcc8f
authored
tensorflow 2.0 not having attribute python
in tensorflow 2.0 replacing "import tensorflow.python.keras.backend" as K with "from tensorflow.python.keras import backend as K"
solves the error tensorflow does not have attribute 'python'.1 parent cab3bbd commit 94dcc8f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments