What are criteria for choosing "dim=0 or 1" for nn.Softmax and nn.LogSoftmax

Hi,

What are criteria for choosing “dim=0 or 1” for nn.Softmax and nn.LogSoftmax