Shortcuts

FiniteTensorDictCheck

class torchrl.envs.transforms.FiniteTensorDictCheck[source]

This transform will check that all the items of the tensordict are finite, and raise an exception if they are not.

forward(tensordict: TensorDictBase) TensorDictBase

Reads the input tensordict, and for the selected keys, applies the transform.

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