Shortcuts

composite_lp_aggregate

class tensordict.nn.composite_lp_aggregate(nowarn: bool = False)

Returns whether a CompositeDistribution log-probabilities and entropies will be aggregated in a single tensor.

Parameters:

nowarn (bool, optional) – whether to ignore warnings. Defaults to False.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources