1. 17 3月, 2023 1 次提交
  2. 16 2月, 2023 1 次提交
    • W
      Add Post-Training Quantization and export function in dygraph mode (#50107) · b7030257
      whs 提交于
      Add PTQ and exporting function
      1. Add Post-Training Quantization
      1.1 Abstract some functions from QAT to Quantization class
      1.2 Add Post-Training Quantization by extending Quantization class
      1.3 Add observers for PTQ
      1.4 Add unittest for PTQ
      2. Add exporting function for QAT and PTQ
      b7030257
  3. 11 1月, 2023 1 次提交
    • W
      Add API for quantization-aware training in dygraph mode (#49398) · b53888e7
      whs 提交于
      * Add tools for quantization-aware training
      1. Expose an API named paddle.quantization.QAT
      2. Define a wrapper class to insert quanters into model for QAT
      3. Add some functions in QuantConfig for QAT
      4. Add unittest for QAT
      
      * Add QuantedConv2D and QuantedLinear for QAT
      
      * Add paddle.nn.quant.qat to setup.py
      b53888e7