What is dw in vectorised form?

In week2 video dw in vectorised form is written as: 1/m * dZ T and dZ T is transpose of A-Y

As my understanding goes, it is 1/m * np.dot(X, (A-Y)).

Can anyone clarify if this is correct.

You need to transpose (A-Y)

Thanks for the reply. It was very helpful.