Base Space

class enflow.spaces.base.BaseSpace[source]

Bases: object

A base space with methods for converting data formats.

classmethod from_array(input_array: ndarray) BaseSpace[source]

Create the action from a numpy array.

to_array() ndarray[source]

Convert the action to a numpy array.

property vector: ndarray
classmethod from_tuple(input_tuple)[source]

Create the action from a tuple.

to_tuple()[source]

Convert the action to a tuple.

property tuple: tuple