Write a function softMax_M(Q) to return a 2darray of softmax
function values ??ℎ=???ℎ−?∑??=1???ℎ−? for ?=0,1,⋯,?−1,ℎ=0,1,⋯,?−1 ,
where ? is a 2darray of floats with shape ( ? , ? ), ??ℎ is the
element at the (?+1) -th row and the (ℎ+1) -th column of array ? ,
and ? is the largest element in array ? . (Hint: operations should
be performed down the rows; a returned 2darray and ? are of the
same shape.) Sample: if D =...