tree: 2d6fa444ecf3e64e31df7a9d65a9212abcc43e81 [path history] [tgz]
  1. cpu/
  2. test/
  3. __init__.py
  4. CMakeLists.txt
  5. quantized.yaml
  6. README.md
  7. TARGETS
  8. targets.bzl
kernels/quantized/README.md

Quantized Ops

This folder contains kernels for quantization related ops, similar to //executorch/kernels/portable/.

How to add quantized ops

  1. Add a new operator definition in quantized.yaml

  2. Implement the kernel for this operator.

  3. Add unit test in /test directory.

  4. Start to use //executorch/kernels/quantized:generated_lib in ExecuTorch or create your own generated lib if you only need a subset of the ops.