xref: /aosp_15_r20/external/executorch/backends/arm/quantizer/TARGETS (revision 523fa7a60841cd1ecfb9cc4201f1ca8b03ed023a)
1load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
2
3python_library(
4    name = "arm_quantizer",
5    srcs = ["arm_quantizer.py"],
6    deps = [
7        ":arm_quantizer_utils",
8        "//caffe2:torch",
9        "//executorch/backends/arm/quantizer/quantization_annotation:quantization_annotation",
10        "//executorch/exir:lib",
11    ],
12)
13
14python_library(
15    name = "quantization_config",
16    srcs = ["quantization_config.py"],
17    deps = [
18        "//caffe2:torch",
19    ],
20)
21
22python_library(
23    name = "arm_quantizer_utils",
24    srcs = ["arm_quantizer_utils.py"],
25    deps = [
26        ":quantization_config",
27    ],
28)
29