I want to import Conv1D from keras.layers like this:
import tensorflow.keras.convolutional.Conv1D
However, I can't solve this error:
ModuleNotFoundError: No module named 'tensorflow.keras.convolutional'
I tried updating Python, Keras, and TensorFlow to the latest version, but I still get the same error. I also tried to import it like this:
from keras.layers.convolutional import Conv1D