Skip to content

Commit 141174d

Browse files
authored
Remove op_linear_scratch_example
Differential Revision: D88285745 Pull Request resolved: pytorch#16067
1 parent 04f1e4d commit 141174d

File tree

4 files changed

+0
-158
lines changed

4 files changed

+0
-158
lines changed

kernels/portable/cpu/op_linear_scratch_example.cpp

Lines changed: 0 additions & 149 deletions
This file was deleted.

kernels/portable/custom_ops.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,3 @@
3030
kernels:
3131
- arg_meta: null
3232
kernel_name: torch::executor::allclose_tensor
33-
34-
- func: linear.scratch_example(Tensor input, Tensor weight, Tensor? bias=None, *, Tensor(a!) out, Tensor(b!) _scratch_tensor) -> Tensor(a!)
35-
kernels:
36-
- arg_meta: null
37-
kernel_name: torch::executor::linear_scratch_example

shim_et/xplat/executorch/build/build_variables.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ PORTABLE_KERNELS_SRCS = [
140140
"kernels/portable/cpu/op_le.cpp",
141141
"kernels/portable/cpu/op_leaky_relu.cpp",
142142
"kernels/portable/cpu/op_lift_fresh_copy.cpp",
143-
"kernels/portable/cpu/op_linear_scratch_example.cpp",
144143
"kernels/portable/cpu/op_log.cpp",
145144
"kernels/portable/cpu/op_log10.cpp",
146145
"kernels/portable/cpu/op_log1p.cpp",

shim_et/xplat/executorch/kernels/portable/op_registration_util.bzl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,9 +1394,6 @@ CUSTOM_OPS = (
13941394
op_target(
13951395
name = "op_allclose",
13961396
),
1397-
op_target(
1398-
name = "op_linear_scratch_example",
1399-
),
14001397
)
14011398

14021399
def portable_source_list():

0 commit comments

Comments
 (0)