composite_lp_aggregate#
- tensordict.nn.composite_lp_aggregate(nowarn: bool = False) bool | None#
Returns whether a
CompositeDistributionlog-probabilities and entropies will be aggregated in a single tensor.Returns
Falseunlessset_composite_lp_aggregateor theCOMPOSITE_LP_AGGREGATEenvironment variable set it toTrue. See the log-probability key table ofProbabilisticTensorDictModulefor what each value changes.- Parameters:
nowarn (bool, optional) – has no effect. Defaults to False.
See also