Instructions to use Ashiedu/fused-split with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use Ashiedu/fused-split with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("Ashiedu/fused-split") - Notebooks
- Google Colab
- Kaggle
File size: 249 Bytes
bc2cb62 | 1 2 3 4 5 6 7 8 9 10 11 12 | from typing import Optional
import torch
from ._ops import ops
def fused_split(x: torch.Tensor, out: Optional[torch.Tensor] = None) -> torch.Tensor:
if out is None:
out = torch.empty_like(x)
ops.fused_split(out, x)
return out |