Build uploaded using `kernels`.
Browse files
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
build/torch29-cxx11-cu130-x86_64-windows/relu/_relu_a793e44.pyd filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
build/torch29-cxx11-cu130-x86_64-windows/relu/_relu_a793e44_dirty.pyd filter=lfs diff=lfs merge=lfs -text
|
build/torch29-cxx11-cu130-x86_64-windows/relu/__init__.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Optional
|
| 2 |
+
|
| 3 |
+
import torch
|
| 4 |
+
|
| 5 |
+
from ._ops import ops
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
def relu(x: torch.Tensor, out: Optional[torch.Tensor] = None) -> torch.Tensor:
|
| 9 |
+
if out is None:
|
| 10 |
+
out = torch.empty_like(x)
|
| 11 |
+
ops.relu(out, x)
|
| 12 |
+
return out
|
build/torch29-cxx11-cu130-x86_64-windows/relu/_ops.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
from . import _relu_a793e44
|
| 3 |
+
ops = torch.ops._relu_a793e44
|
| 4 |
+
|
| 5 |
+
def add_op_namespace_prefix(op_name: str):
|
| 6 |
+
"""
|
| 7 |
+
Prefix op by namespace.
|
| 8 |
+
"""
|
| 9 |
+
return f"_relu_a793e44::{op_name}"
|
build/torch29-cxx11-cu130-x86_64-windows/relu/_relu_a793e44.pyd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eaab9c9f4615048227d0c550c88ac81c480532bec4e411c06f2a7e39cae4354c
|
| 3 |
+
size 231424
|
build/torch29-cxx11-cu130-x86_64-windows/relu/_relu_a793e44_dirty.pyd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21917af9e2d50e72900e5e7b1714fe27d86b3bc34b7073d2ef91c91d5a6b437b
|
| 3 |
+
size 231424
|