.. currentmodule:: torchrl.data TensorSpec System ================= TensorSpec classes define the shape, dtype, and domain of tensors in TorchRL. .. autosummary:: :toctree: generated/ :template: rl_template.rst Binary Bounded Categorical Composite DiscreteTensorSpec LazyStackedCompositeSpec MultiCategorical MultiDiscreteTensorSpec MultiOneHot NonTensor OneHot TensorSpec Unbounded UnboundedContinuous UnboundedDiscrete