Skip to content

Instantly share code, notes, and snippets.

@muhammadgaffar
Created October 24, 2018 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muhammadgaffar/9fe1b9e3d7a798e5387b85d19c1cbb9c to your computer and use it in GitHub Desktop.
Save muhammadgaffar/9fe1b9e3d7a798e5387b85d19c1cbb9c to your computer and use it in GitHub Desktop.
def softmax(x):
return np.exp(x) / np.sum(np.exp(x), axis=0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment