Shortcuts

auto_unwrap_transformed_env

class torchrl.auto_unwrap_transformed_env(allow_none=False)[source]

Get the current setting for automatically unwrapping TransformedEnv instances.

Parameters:

allow_none (bool, optional) – If True, returns None if no setting has been specified. Otherwise, returns the default setting. Defaults to False.

seealso: set_auto_unwrap_transformed_env()

Returns:

The current setting for automatically unwrapping TransformedEnv

instances.

Return type:

bool or None

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources