Abstract Space
lerax.space.AbstractSpace
Bases:
Abstract base class for defining a space.
A space is a set of values that can be sampled from.
flat_size
abstractmethod
property
Return the size of a flattened sample from the space.
sample
abstractmethod
Returns a random sample from the space.
contains
abstractmethod
Returns True if the input is in the space, False otherwise.
flatten_sample
abstractmethod
Flatten a sample from the space into a 1-D array.
options: members: true