title: Numerically stable softmax
body: <p>Is there a numerically stable way to compute softmax function below?
  I am getting values that becomes Nans in Neural network code.</p>
  
  <pre><code>np.exp(x)/np.sum(np.exp(y))
  </code></pre>