title: How to fix name" Embedding is not defined" in Keras
body: <p>I am learning Keras from the book &quot;Deep learning using Python&quot;.I was trying to implement the same as mentioned in the book on the implementation of the embedding layer. But I am getting error NameError: name 'Embedding' is not defined. I am using
  Python 3.7
  tensorflow: '1.13.1'
  keras :'2.2.4'</p>
  <pre><code>from keras.models import Sequential                                    
  
  from keras.layers import Flatten, Dense                                
  
  model = Sequential()                                                   
  
  model.add(Embedding(10000, 8 ,input_length= max_len))
  
                
  </code></pre>
  <blockquote>
  <p>--------------------------------------------------------------------------- NameError                                 Traceback (most recent call
  last)  in 
  ----&gt; 1 model.add(Embedding(10000, 8 ,input_length= max_len))</p>
  <p>NameError: name 'Embedding' is not defined</p>
  </blockquote>