def logit2prob()

in submix.py [0:0]


def logit2prob(logit):
    return torch.exp(logit)/(torch.sum(torch.exp(logit)))