Embedding layerin C3_W2_Assignment

In the previous week, we see the meaning of the Embedding layer: we use it to get the word embedding.

In this week assignment, I don’t get why we use the embedding layer, because the inputs are the characters and not the word.

Can you help me?

Thank you

You are predicting the next character, so characters are used as input. Embeddings can be of anything, they can be words, characters, or something else non-language related, it would depend on what the input is. Since you are adding an embedding layer then embeddings of characters are created.