I want to reimplement Softmax so I can customize it.
I followed this 4 post by ptrblck.
Two questions:
There is a lot of discussion about numeric stability (see here for example). Is this the case in the provided solution?
Why is it necessary to substract the max of x?
Thanks for you help!