File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed
Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ # @noautodeps
2+ load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
3+ load("@fbcode_macros//build_defs:python_pytest.bzl", "python_pytest")
4+ load(
5+ "@fbsource//arvr/tools/build_defs:oxx_python.bzl",
6+ "oxx_prebuilt_python_library",
7+ )
8+
9+ oncall("wrist_motion_systems")
10+
11+
12+ python_library(
13+ name = "quantizer",
14+ srcs = [
15+ "quantizer/neutron_quantizer.py",
16+ "quantizer/patterns.py",
17+ "quantizer/utils.py",
18+ ],
19+ deps = [
20+ "//caffe2:torch",
21+ "//executorch/backends/xnnpack/quantizer:xnnpack_quantizer_utils",
22+ ],
23+ )
Original file line number Diff line number Diff line change 1+ load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
2+ load("@fbcode_macros//build_defs:python_pytest.bzl", "python_pytest")
3+
4+ oncall("wrist_motion_systems")
5+
6+ python_library(
7+ name = "models",
8+ srcs = [
9+ "models.py",
10+ ],
11+ deps = [
12+ "//caffe2:torch",
13+ ],
14+ )
15+
16+ python_pytest(
17+ name = "test_quantizer",
18+ srcs = [
19+ "test_quantizer.py",
20+ ],
21+ deps = [
22+ "//executorch/backends/nxp:quantizer",
23+ "//caffe2:torch",
24+ "//executorch/backends/nxp/tests:models",
25+ ],
26+ )
You can’t perform that action at this time.
0 commit comments