Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Kernels:
kernels-test
/
python-dep
like
0
Follow
Kernels Tests
9
Kernel card
Files
Files and versions
xet
Community
v1
python-dep
/
build
/
torch-cpu
/
__init__.py
danieldk
HF Staff
Build
4e8294d
5 days ago
raw
Copy download link
history
blame
179 Bytes
import
torch
from
._ops
import
ops
from
.op
import
_silu_and_mul
def
silu_and_mul
(
x: torch.Tensor
) -> torch.Tensor:
return
ops.silu_and_mul(x)
__all__ = [
"silu_and_mul"
]