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
Can you guide me on what other functions needs to be updated if we default it to int8 or int32 in constructor?
With example testing spaces do you mean tests/spaces/test_discrete.py? There is no explicit dtype checks in multidiscrete test, can you tell what needs to be done there?
Proposal
Add dtype argument to spaces.Discrete (similar to MultiDiscrete and Box).
Motivation
Currently the dtype is fixed to numpy.int64. However, often Discrete spaces are much smaller, resulting in a waste of memory.
Pitch
No response
Alternatives
No response
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: