python 运行错误ModuleNotFoundError: No module named ‘tensorflow.keras.layers.core‘

运行:from tensorflow.keras.layers.core import Dense, Dropout, Activation,Dropout

报错

改为 from tensorflow.keras.layers import Dense, Dropout, Activation,Dropout就好了

你可能感兴趣的:(tensorflow,python,keras)