Implicit dimension choice for softmax warning

Thanks for your response. It is part of an older code for focal loss here:

        logpt = F.log_softmax(input)