import tensorflow as tf import tensorflow from tensorflow import keras from keras.layers import Dense
I am getting the below error
I had the same problem with Tensorflow 2.0.0 in PyCharm. PyCharm did not recognize tensorflow.keras; I updated my PyCharm and the problem was resolved!