I have passed exercises 1-4, and cannot proceed further on exercise 5.
The exercise has the following comment line and two lines of code to all students.

Create the mask, i.e., the values that will be ignored

mask = None
mask = tf.cast(mask, tf.float32) 

I suspect that I have got my code wrong when I replace None with my codes and so I cannot get pass this exercise. Is there any online manual that I should read? I have read the whole notebook again, and notice that under 3.3, there is a mention that “You will pad the vectorized labels with the value -1.” What could I do with it? Any help?

use search tool, there are threads already mentioned for this exercise.


1 Like