Week1 parameter matrix W

In the video of " General implementation of forward propagation", the parameter matrix W has number of features as number of rows, and number of neurons as number of columns. I often get confused how do I know when to make the number of neurons as number of column or rows.


k1

Depending on the author or the assignment, either orientation might be used. There is no universal standard.