torchrl.trainers.algorithms.configs.objectives.LossConfig¶ class torchrl.trainers.algorithms.configs.objectives.LossConfig(_partial_: bool = False)[原始碼]¶ 用於配置損失的類。 引數: loss_type – 要使用的損失型別。