Skip to content

BaseEncoder

source

BaseEncoder(
   observation_space: gym.Space, feature_dim: int = 0
)


Base class that represents a features extractor.

Args

  • observation_space (gym.Space) : The observation space.
  • feature_dim (int) : Number of features extracted.

Returns

The base encoder instance.