hive.envs.env_spec module
- class hive.envs.env_spec.EnvSpec(env_name, obs_dim, act_dim, env_info=None)[source]
Bases:
object
Object used to store information about environment configuration. Every environment should create an EnvSpec object.
- Parameters
env_name – Name of the environment
obs_dim – Dimensionality of observations from environment. This can be a simple integer, or a complex object depending on the types of observations expected.
act_dim – Dimensionality of action space.
env_info – Any other info relevant to this environment. This can include items such as random seeds or parameters used to create the environment
- property env_name
- property obs_dim
- property act_dim
- property env_info