The docstrings should explain that this mask can be set to hide part of the discrete specs to hide part of the domain.
The docstrings should also explain how the mask can be updated (using spec.update_mask).
An example should be provided with the mask. See the tests to understand how the mask is used: https://github.com/pytorch/rl/blob/533d3f93aa55a4044a6e337448957f92f129d490/test/test_specs.py#L3460
Various classes in the specs have the
"mask"
entry undocumented:The docstrings should explain that this mask can be set to hide part of the discrete specs to hide part of the domain. The docstrings should also explain how the mask can be updated (using
spec.update_mask
). An example should be provided with the mask. See the tests to understand how the mask is used: https://github.com/pytorch/rl/blob/533d3f93aa55a4044a6e337448957f92f129d490/test/test_specs.py#L3460@kurtamohler is it something you could help with?