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
Returns true if a spec contains lazy stacked specs.
spec (TensorSpec) – the spec to check