DLS Course 4 , Week 1, first assignment

I have question regarding the notation.
(m, n_H_prev, n_W_prev, n_C_prev)

n_H denotes hight (columns), and n_W denotes width (rows), right ?

Conventionally we always put rows first so why in this case we flipped them?

I’d say that height (n_H) denotes the number of rows and width (n_W) means the number of columns , so it keeps the same convention.

Right! n_H is the height, meaning the number of rows in each column. Likewise n_W is the width, meaning the number of columns in each row.