W3 A1 | Ex-3 |Initialize_parameters: wrong scalar arrays

I checked W1 but couldn’t find any error. My code is giving this ERROR: only integer scalar arrays can be converted to a scalar index.

Sir can you please help me find the problem in my code.
Thank you

check the arguments you have inputted into initialize_parameters function. You need to give integer scalar values instead of array into it.

Exactly. You are passing the arrays themselves (X and Y) instead of passing the relevant dimensions of them.

Thank you mam. I found my error

Yeah sir I got it . Thank you.