torchsparse.nn.utils# fapply(input: SparseTensor, fn: Callable[[...], Tensor], *args, **kwargs) → SparseTensor[source]# get_kernel_offsets(size: int | Tuple[int, ...], stride: int | Tuple[int, ...] = 1, dilation: int | Tuple[int, ...] = 1, device: str = 'cpu') → Tensor[source]#