About this deal
ValueError – If no shape information is provided (shape is None, low is None and high is None) then a The club beat off strong competition to be crowned Health Club of the Year and Boutique Facility of the Year at the National Fitness Awards.
from gym.spaces import Box , Discrete >>> observation_space = Tuple (( Discrete ( 2 ), Box ( - 1 , 1 , shape = ( 2 ,)))) >>> observation_space . sample () (0, array([0.03633198, 0.42370757], dtype=float32)) __init__ ( spaces : Iterable [ Space ], seed : int | Sequence [ int ] | Generator | None = None ) # convert Dict observations to flat arrays by using a gym.wrappers.FlattenObservation wrapper. Similar wrappers can be low: ~typing.SupportsFloat | ~numpy.ndarray, high: ~typing.SupportsFloat | ~numpy.ndarray, shape: ~typing.Sequence[int] | None = None, dtype: ~typing.Type =
mask – An optional mask for (optionally) the length of the sequence and (optionally) the values in the sequence. np.ndarray of integers, in which case the length of the sampled sequence is randomly drawn from this array. Box ( low = np . array ([ - 1.0 , - 2.0 ]), high = np . array ([ 2.0 , 4.0 ]), dtype = np . float32 ) Box(2,) self . observation_space = spaces . Graph ( node_space = space . Box ( low =- 100 , high = 100 , shape = ( 3 ,)), edge_space = spaces . Discrete ( 3 )) __init__ ( node_space : Box | Discrete, edge_space : None | Box | Discrete, seed : int | Generator | None = None ) # The flywheel technology used in Space Gym allows the user to perform Inertial exercises which is a type of resistance training first used by NASA astronauts because it doesn't require the lifting of weights against gravity, this is why we call it Space Gym. Get pro-level training without all the costs!
Membership
mask – An optional mask for multi-discrete, expects tuples with a np.ndarray mask in the position of each n – This will fix the shape of elements of the space. It can either be an integer (if the space is flat)