MeshyOA #7
Softmax Implementation (Python + numpy)
Estimated EasyStatement and editorial — judging is being prepared
Topics (AI-labelled)Bits & MathIn-place Arrays
Please implement a softmax function with numpy. You are not allowed to call any existing functions such as scipy.special.softmax.
Note: don't write a for loop.
Hint: a^b / a^c = a^(b-k) / a^(c-k).
Editorial
Loading solution…