[BUG] MaskedOneHotCategorical
missing mode
and deterministic_sample
properties.
#2439
Closed
2 of 3 tasks
Labels
bug
Something isn't working
Describe the bug
The
MaskedOneHotCategorical
distribution is missing themode
anddeterministic_sample
properties.Reason and Possible fixes
The
MaskedOneHotCategorical
distribution should overwrite themode
property to account for the conversion to and from one-hot encoding. Additionally, it should implement thedeterministic_sample
property. Both should be the same as those implemented inOneHotCategorical
, i.e.:Checklist
The text was updated successfully, but these errors were encountered: