Random.choices in pytorch

torch.mulinominal()