General implementation of forward propagation - units =3?

I do not get the part where

units = W.shape[1]

and number of units is 3. But W is a 2 by 3 matrix. My expectation was it would be 2.

Hello @gaolatlhe,

Would you mind sharing how you came up with an expectation or impression that you would take the number of rows in W as the number of units of a layer? For example, was it from one of the lecture videos? Or labs?