Rate this Page
★ ★ ★ ★ ★

TensorDictBase.ndimension#

TensorDictBase.ndimension() → int#

See batch_dims().

Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.