W3_A1_Ex-2_Understanding sizes of the layer

Hello, @Nicola_Port! You posted your message in Deep Learning Specialization (course 1) but in Course 3 of this specialization, we have only 2 weeks. It is necessary to post your query/message in the correct course category, otherwise, it is like asking for help at the wrong place.

From your screenshot, it seems you are talking about TensorFlow Developer Professional Certificate Specialization, course 3 Natural Language Processing in TensorFlow, right? (TF1C3). If so, please move your query to the correct category as described here.

Regarding your query, why do you think we need to import tensorflow as tf? We already importing necessary items from tensorflow.keras and these are sufficient for this assignment.

If you are facing any errors, share them with us. So, we can assist you.

Best,
Saif.