Softmax para nparray
from scipy.special import softmax
np.set_printoptions(precision=5)
Obedient Octopus
from scipy.special import softmax
np.set_printoptions(precision=5)