C4_W2_C1_DotProductAttention_Issue

Hi,

When I follow the instruction of C1 exercise to build up softmax(dots + M) using the following codes:

# 

It gives the right one.

Did I use wrong functions to calculate the Softmax function?

Thanks!

Cide is not allowed to be posted here in the public.

Yes, in the logsumexp function you have a parameter for axis and keepdims which you have to set also!