One_hot_encoding_error

[Removed solution code]

whats the error in that code

Hi, @Priyanshu_Kumar.

Do not hardcode the shape argument. Hint: your code only works for depth 4.

Good luck with the assignment :slight_smile:

Pay attention to this too .


sir,
I got that issue solved but its throwing an error in this line of code. i have no idea what to do

Got my problem solved…thanks a lot Sir

1 Like