You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On line 169 of README, dist = ntorch.distributions.Categorical(logits=params, logit_dim="logits") is incorrect, in that the keyword is dim_logitas seen on line 27 of namedtensor/distributions/distributions.py. While a simple fix would be changing the README, I actually prefer logit_dim over dim_logit so would prefer changing the keyword. This, however, has issues with backwards compatibility.
The text was updated successfully, but these errors were encountered:
On line 169 of README,
dist = ntorch.distributions.Categorical(logits=params, logit_dim="logits")
is incorrect, in that the keyword isdim_logit
as seen on line 27 ofnamedtensor/distributions/distributions.py
. While a simple fix would be changing the README, I actually preferlogit_dim
overdim_logit
so would prefer changing the keyword. This, however, has issues with backwards compatibility.The text was updated successfully, but these errors were encountered: