In the embedding layer of the model I have defined vocab size and a embedding_dim argument, but while printing the summary of the model I’m not getting the exact value of the arguments as set in hyperparameters of the above arguments.
The embedding_dim is set to 512 as of the same length of sequences. I have attached the code and error snippets for better understanding.
Model Architecture

image981×379 13.9 KB


image944×435 12.8 KB

Error

image1141×475 23.5 KB