contains_lazy_spec¶ class torchrl.data.contains_lazy_spec(spec: TensorSpec)[源代码]¶ 如果 spec 包含延迟堆叠的 spec,则返回 true。 参数: spec (TensorSpec) – 要检查的 spec