forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TARGETS
32 lines (28 loc) · 1.04 KB
/
TARGETS
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
# Any targets that should be shared between fbcode and xplat must be defined in
# targets.bzl. This file can contain fbcode-only targets.
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
load("@fbcode_macros//build_defs:python_binary.bzl", "python_binary")
oncall("executorch")
python_binary(
name = "export_example",
srcs = ["scripts/export_example.py"],
main_function = ".scripts.export_example.main",
visibility = ["//executorch/examples/..."],
deps = [
"//caffe2:torch",
"//executorch/extension/pybindings:aten_lib",
"//executorch/backends/qualcomm/partition:partition",
"//executorch/backends/qualcomm/quantizer:quantizer",
"//executorch/devtools:lib",
"//executorch/examples/models:models",
"//executorch/extension/export_util:export_util",
],
)
python_library(
name = "utils",
srcs = ["utils.py"],
deps = [
"//executorch/backends/qualcomm/partition:partition",
"//executorch/backends/qualcomm/quantizer:quantizer",
],
)