Hi there,
I am trying to initialize a categorical distribution with log probabilities by calling
l = torch.randn(3)
dist = torch.distributions.Categorical(logits=l)
and here is the error message:
TypeError: __init__() got an unexpected keyword argument 'logits'
My pytorch version is 0.3.1.post2. Am I doing anything wrong here?