EnvMetaData¶ class torchrl.envs.EnvMetaData(*, tensordict: TensorDictBase, specs: CompositeSpec, batch_size: Size, env_str: str, device: device, batch_locked: bool, device_map: dict)[源代码]¶ 用于环境元数据存储和在多进程设置中传递的类。