torchrl.trainers.algorithms.configs.objectives.LossConfig¶ class torchrl.trainers.algorithms.configs.objectives.LossConfig(_partial_: bool = False)[源代码]¶ 用于配置损失的类。 参数: loss_type – 要使用的损失类型。