def softmax()

in utils.py [0:0]


def softmax(x):
    x = x - np.max(x)
    x = np.exp(x)
    x = x / np.sum(x)

    return x