1 hidden layer and the nodes (n_x,n_h,n_y) = [10,16,1]

i have initialized b2 = np.zeros ((1,1)) ,

and in backward propagation db2 = 1/m*np.sum(dz2,axis =1 )

in upadate parameters b2 = b2-learning_rate*db2

so when i run these codes error shown: Data must be 1-dimensional

error is at b2 update parameter

how to solve it??

n_x = input feature

n_y = output

n_h = hidden laye nodes