tensor# Functions# tensor_all_zero(→ bool) find_nonzero_intervals(→ List[Tuple[int, int]]) Module Contents# tensor.tensor_all_zero(tensor: torch.Tensor) → bool[source]# tensor.find_nonzero_intervals(tensor: torch.Tensor, ignore_distance: int = 1) → List[Tuple[int, int]][source]#