Rate this Page
★ ★ ★ ★ ★

is_non_tensor#

tensordict.is_non_tensor(data) → bool#

Checks if an item is a non-tensor.