I am studying the link below.
https://pytorch.org/tutorials/beginner/nn_tutorial.html 12
But I can’t understand “log_softmax” written in this document.
def log_softmax(x):
    return x - x.exp().sum(-1).log().unsqueeze(-1)

How this function match to the figure below?