ValueError: cannot reshape array of size 1 into shape (5,4)

error after implementing gradient_check_n in week 1 programming Gradient_cheching

1 Like

Hi, @rasgulla.c !

There is only one element in that array, so it’s not possible to convert one-element into an array that contains 20 (5x4) elements