W4_A1_Why add dimension to the output mask for vectorization?

Hi all,
I was wondering why we add dimension to the mask. Maybe for vectorized multiplication.
Will update this post, as my current question got answered when I looked a bit deeper.

Thanks for the update.

I have the same question as this original post title. I don’t see any answer to the question. Am I missing anything?

Hi @Yufeng_Shen ,

Which part of the assignment are you referring to? If it Is related to the padding mask, then, please refer to the implementation instruction for explanation.