forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUCK
More file actions
51 lines (46 loc) · 1.06 KB
/
BUCK
File metadata and controls
51 lines (46 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")
oncall("executorch")
fbcode_target(_kind = runtime.python_library,
name = "convert",
srcs = [
"convert.py",
],
deps = [
"//caffe2:torch",
"//caffe2/torchgen:torchgen",
],
)
fbcode_target(_kind = runtime.python_library,
name = "manip",
srcs = [
"manip.py",
],
deps = [
"//caffe2:torch",
"//executorch/exir:tensor",
],
)
fbcode_target(_kind = runtime.python_library,
name = "util",
srcs = [
"util.py",
],
deps = [
"//caffe2/torchgen:torchgen",
"//pytorch/ao:torchao",
"//caffe2:torch",
],
)
fbcode_target(_kind = runtime.python_test,
name = "test_operator",
srcs = [
"test/test_operator.py",
],
deps = [
":convert",
":util",
"//caffe2:torch",
],
)