Skip to content

Type Variables

Generic type variables used when writing custom wrappers to preserve observation, action, and state types through the wrapper chain.

envrax.wrappers.base.InnerStateT = TypeVar('InnerStateT', bound=EnvState) module-attribute

Wrapper environment inner state generic type.

envrax.wrappers.base.WrapperType = Type[Wrapper] | _WrapperFactory

A wrapper supplied to factory functions like make().

Either a Wrapper subclass (applied directly to an env) or a deferred factory returned by calling a parameterised wrapper class without an env (e.g. ResizeObservation(h=84, w=84)).