Build uploaded using `kernels`.
Browse files- .gitattributes +1 -0
- build/torch210-cpu-aarch64-darwin/__init__.py +5 -1
- build/torch210-cpu-aarch64-darwin/_ops.py +3 -3
- build/torch210-cpu-aarch64-darwin/{_relu_cpu_ushyb5anekdvi.abi3.so → _relu_cpu_6261c06.abi3.so} +0 -0
- build/torch210-cpu-aarch64-darwin/layers/__init__.py +11 -0
- build/torch210-cpu-aarch64-darwin/metadata.json +1 -0
- build/torch210-metal-aarch64-darwin/__init__.py +5 -1
- build/torch210-metal-aarch64-darwin/_ops.py +3 -3
- build/torch210-metal-aarch64-darwin/{_relu_metal_jcelz7hn6aaa6.abi3.so → _relu_metal_6261c06.abi3.so} +2 -2
- build/torch210-metal-aarch64-darwin/layers/__init__.py +11 -0
- build/torch210-metal-aarch64-darwin/metadata.json +1 -0
- build/torch29-cpu-aarch64-darwin/__init__.py +5 -1
- build/torch29-cpu-aarch64-darwin/_ops.py +3 -3
- build/torch29-cpu-aarch64-darwin/{_relu_cpu_mt2uwrso3zuhs.abi3.so → _relu_cpu_6261c06.abi3.so} +0 -0
- build/torch29-cpu-aarch64-darwin/layers/__init__.py +11 -0
- build/torch29-cpu-aarch64-darwin/metadata.json +1 -0
- build/torch29-metal-aarch64-darwin/__init__.py +5 -1
- build/torch29-metal-aarch64-darwin/_ops.py +3 -3
- build/torch29-metal-aarch64-darwin/{_relu_metal_zmejuz557luqe.abi3.so → _relu_metal_6261c06.abi3.so} +0 -0
- build/torch29-metal-aarch64-darwin/layers/__init__.py +11 -0
- build/torch29-metal-aarch64-darwin/metadata.json +1 -0
.gitattributes
CHANGED
|
@@ -249,3 +249,4 @@ build/torch210-cu128-x86_64-windows/_relu_cuda_bd0179a.pyd filter=lfs diff=lfs m
|
|
| 249 |
build/torch210-xpu20253-x86_64-windows/_relu_xpu_bd0179a.pyd filter=lfs diff=lfs merge=lfs -text
|
| 250 |
build/torch210-cu128-x86_64-windows/_relu_cuda_d91a431.pyd filter=lfs diff=lfs merge=lfs -text
|
| 251 |
build/torch210-xpu20253-x86_64-windows/_relu_xpu_d91a431.pyd filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 249 |
build/torch210-xpu20253-x86_64-windows/_relu_xpu_bd0179a.pyd filter=lfs diff=lfs merge=lfs -text
|
| 250 |
build/torch210-cu128-x86_64-windows/_relu_cuda_d91a431.pyd filter=lfs diff=lfs merge=lfs -text
|
| 251 |
build/torch210-xpu20253-x86_64-windows/_relu_xpu_d91a431.pyd filter=lfs diff=lfs merge=lfs -text
|
| 252 |
+
build/torch210-metal-aarch64-darwin/_relu_metal_6261c06.abi3.so filter=lfs diff=lfs merge=lfs -text
|
build/torch210-cpu-aarch64-darwin/__init__.py
CHANGED
|
@@ -4,9 +4,13 @@ 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
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
from ._ops import ops
|
| 6 |
|
| 7 |
+
from . import layers
|
| 8 |
+
|
| 9 |
|
| 10 |
def relu(x: torch.Tensor, out: Optional[torch.Tensor] = None) -> torch.Tensor:
|
| 11 |
if out is None:
|
| 12 |
out = torch.empty_like(x)
|
| 13 |
ops.relu(out, x)
|
| 14 |
+
return out
|
| 15 |
+
|
| 16 |
+
__all__ = ["relu", "layers"]
|
build/torch210-cpu-aarch64-darwin/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _relu_cpu_6261c06
|
| 3 |
+
ops = torch.ops._relu_cpu_6261c06
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_6261c06::{op_name}"
|
build/torch210-cpu-aarch64-darwin/{_relu_cpu_ushyb5anekdvi.abi3.so → _relu_cpu_6261c06.abi3.so}
RENAMED
|
Binary files a/build/torch210-cpu-aarch64-darwin/_relu_cpu_ushyb5anekdvi.abi3.so and b/build/torch210-cpu-aarch64-darwin/_relu_cpu_6261c06.abi3.so differ
|
|
|
build/torch210-cpu-aarch64-darwin/layers/__init__.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
import torch.nn as nn
|
| 3 |
+
|
| 4 |
+
from .._ops import ops
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
class ReLU(nn.Module):
|
| 8 |
+
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
| 9 |
+
out = torch.empty_like(x)
|
| 10 |
+
ops.relu(out, x)
|
| 11 |
+
return out
|
build/torch210-cpu-aarch64-darwin/metadata.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
|
|
|
| 3 |
"python-depends": []
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
| 3 |
+
"license": "Apache-2.0",
|
| 4 |
"python-depends": []
|
| 5 |
}
|
build/torch210-metal-aarch64-darwin/__init__.py
CHANGED
|
@@ -4,9 +4,13 @@ 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
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
from ._ops import ops
|
| 6 |
|
| 7 |
+
from . import layers
|
| 8 |
+
|
| 9 |
|
| 10 |
def relu(x: torch.Tensor, out: Optional[torch.Tensor] = None) -> torch.Tensor:
|
| 11 |
if out is None:
|
| 12 |
out = torch.empty_like(x)
|
| 13 |
ops.relu(out, x)
|
| 14 |
+
return out
|
| 15 |
+
|
| 16 |
+
__all__ = ["relu", "layers"]
|
build/torch210-metal-aarch64-darwin/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _relu_metal_6261c06
|
| 3 |
+
ops = torch.ops._relu_metal_6261c06
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_metal_6261c06::{op_name}"
|
build/torch210-metal-aarch64-darwin/{_relu_metal_jcelz7hn6aaa6.abi3.so → _relu_metal_6261c06.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8dfb5099b945261311ae3e457b78b0acd63463c84f73246c2492d19698cfaaae
|
| 3 |
+
size 100680
|
build/torch210-metal-aarch64-darwin/layers/__init__.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
import torch.nn as nn
|
| 3 |
+
|
| 4 |
+
from .._ops import ops
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
class ReLU(nn.Module):
|
| 8 |
+
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
| 9 |
+
out = torch.empty_like(x)
|
| 10 |
+
ops.relu(out, x)
|
| 11 |
+
return out
|
build/torch210-metal-aarch64-darwin/metadata.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
|
|
|
| 3 |
"python-depends": []
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
| 3 |
+
"license": "Apache-2.0",
|
| 4 |
"python-depends": []
|
| 5 |
}
|
build/torch29-cpu-aarch64-darwin/__init__.py
CHANGED
|
@@ -4,9 +4,13 @@ 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
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
from ._ops import ops
|
| 6 |
|
| 7 |
+
from . import layers
|
| 8 |
+
|
| 9 |
|
| 10 |
def relu(x: torch.Tensor, out: Optional[torch.Tensor] = None) -> torch.Tensor:
|
| 11 |
if out is None:
|
| 12 |
out = torch.empty_like(x)
|
| 13 |
ops.relu(out, x)
|
| 14 |
+
return out
|
| 15 |
+
|
| 16 |
+
__all__ = ["relu", "layers"]
|
build/torch29-cpu-aarch64-darwin/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _relu_cpu_6261c06
|
| 3 |
+
ops = torch.ops._relu_cpu_6261c06
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_6261c06::{op_name}"
|
build/torch29-cpu-aarch64-darwin/{_relu_cpu_mt2uwrso3zuhs.abi3.so → _relu_cpu_6261c06.abi3.so}
RENAMED
|
Binary files a/build/torch29-cpu-aarch64-darwin/_relu_cpu_mt2uwrso3zuhs.abi3.so and b/build/torch29-cpu-aarch64-darwin/_relu_cpu_6261c06.abi3.so differ
|
|
|
build/torch29-cpu-aarch64-darwin/layers/__init__.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
import torch.nn as nn
|
| 3 |
+
|
| 4 |
+
from .._ops import ops
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
class ReLU(nn.Module):
|
| 8 |
+
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
| 9 |
+
out = torch.empty_like(x)
|
| 10 |
+
ops.relu(out, x)
|
| 11 |
+
return out
|
build/torch29-cpu-aarch64-darwin/metadata.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
|
|
|
| 3 |
"python-depends": []
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
| 3 |
+
"license": "Apache-2.0",
|
| 4 |
"python-depends": []
|
| 5 |
}
|
build/torch29-metal-aarch64-darwin/__init__.py
CHANGED
|
@@ -4,9 +4,13 @@ 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
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
from ._ops import ops
|
| 6 |
|
| 7 |
+
from . import layers
|
| 8 |
+
|
| 9 |
|
| 10 |
def relu(x: torch.Tensor, out: Optional[torch.Tensor] = None) -> torch.Tensor:
|
| 11 |
if out is None:
|
| 12 |
out = torch.empty_like(x)
|
| 13 |
ops.relu(out, x)
|
| 14 |
+
return out
|
| 15 |
+
|
| 16 |
+
__all__ = ["relu", "layers"]
|
build/torch29-metal-aarch64-darwin/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _relu_metal_6261c06
|
| 3 |
+
ops = torch.ops._relu_metal_6261c06
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_metal_6261c06::{op_name}"
|
build/torch29-metal-aarch64-darwin/{_relu_metal_zmejuz557luqe.abi3.so → _relu_metal_6261c06.abi3.so}
RENAMED
|
Binary files a/build/torch29-metal-aarch64-darwin/_relu_metal_zmejuz557luqe.abi3.so and b/build/torch29-metal-aarch64-darwin/_relu_metal_6261c06.abi3.so differ
|
|
|
build/torch29-metal-aarch64-darwin/layers/__init__.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
import torch.nn as nn
|
| 3 |
+
|
| 4 |
+
from .._ops import ops
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
class ReLU(nn.Module):
|
| 8 |
+
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
| 9 |
+
out = torch.empty_like(x)
|
| 10 |
+
ops.relu(out, x)
|
| 11 |
+
return out
|
build/torch29-metal-aarch64-darwin/metadata.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
|
|
|
| 3 |
"python-depends": []
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
| 3 |
+
"license": "Apache-2.0",
|
| 4 |
"python-depends": []
|
| 5 |
}
|