Embedding layer: What's input dimension?

Hi, I’m trying to figure out the embedding layer’s input dimension. How exactly do we determine the input dimension of an embedding layer?

Hi,
embedding layer can be used as first layer only and
input_dim: int > 0. Size of the vocabulary, i.e. maximum integer index + 1.
It is same as used in keras.

Regards
Rajat

Thanks. But what does “vocabulary” here means?

Hi
You can refer to this link for more information.
https://machinelearningmastery.com/use-word-embedding-layers-deep-learning-keras/

Regards
Rajat