Skip to content

schola.core.spaces.base.get_space_shape_as_int

Function Definition

schola.core.spaces.base.get_space_shape_as_int(space)

Get the shape of a space as an integer.

Parameters

space

Type: Space
The space to get the shape of.

Returns

Type: int
The shape of the space as an integer.

Return type: int