Course2_Week3_Exercise3

Hello Mentors,
Sir, I have solved Exercise3 but still running further code,

I am getting this error.

Sir, do I solve this error as I have already passed all the tests of Exercise3…

Thank You,
Regards Utkarsh.

@SAHU2002
You need to pass the depth dimension to the tf.one_hot function inside one_hot_matrix. I think that would remove this error.

Hi, @SAHU2002.

Take a look at this and change the function header accordingly.

Let me know if you need more help.