Shortcuts

contains_lazy_spec

class torchrl.data.contains_lazy_spec(spec: TensorSpec)[source]

Returns true if a spec contains lazy stacked specs.

Parameters:

spec (TensorSpec) – the spec to check

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