tree: 05852c7b04359075f351d1182bec62e05471226c [path history] [tgz]
  1. cpu/
  2. test/
  3. __init__.py
  4. BUCK
  5. CMakeLists.txt
  6. quantized.yaml
  7. README.md
  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.