Naive C++ We implement a Softmax in plain C++. First, compute the max value of the input data. Compute the sum of exponents. Normalize the output.