Embedding layer: What's input dimension?


#1

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?


#2

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


#3

Thanks. But what does “vocabulary” here means?


#4

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

Regards
Rajat