1. 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
  2. 14 2月, 2023 1 次提交
  3. 10 2月, 2023 1 次提交
  4. 07 2月, 2023 2 次提交
  5. 06 2月, 2023 3 次提交
  6. 03 2月, 2023 2 次提交
  7. 02 2月, 2023 4 次提交
  8. 01 2月, 2023 2 次提交
    • Z
      remove fluid.initializer.UniformInitializer, ConstantInitializer,... · 6edc7bba
      zqw_1997 提交于
      remove fluid.initializer.UniformInitializer, ConstantInitializer, NormalInitializer, TruncatedNormalInitializer, XavierInitializer, BilinearInitializer, MSRAInitializer, NumpyArrayInitializer and calculate_gain.. (#49498)
      
      * move UniformInitializer and ConstantInitializer
      
      * more modify
      
      * circular import resolved
      
      * another circular import resolved?
      
      * more circular import 2
      
      * circular import 3
      
      * change import paddle in metric.py
      
      * BuildStrategy import from fluid
      
      * modify the framework import path in common.py
      
      * change rnn.py import, from static to original framework
      
      * change import static in the nn folder
      
      * default_main_program should import from common_ops_import
      
      * add import paddle in param_attr.py
      
      * use core not paddle module for using VarDesc
      
      * another old uniform
      
      * mistake that use Uniform instead of UniformInitializer
      
      * modify UniformInitializer doc
      
      * move fluid.NormalInitializer to nn.initializer.NormalInitializer
      
      * remove import of Normal in fluid.layers.nn.py
      
      * remove more import of old Normal
      
      * remove more import of old Normal
      
      * sample code modify and tests modify import
      
      * is_listen_failed passing arg should be log file
      
      * problem solved
      
      * a mistake solved
      
      * comments resoleved and remove paddle.fluid.initializer.TruncatedNormalInitializer
      
      * remove paddle.fluid.initializer.XavierInitializer and paddle.fluid.initializer.MSRAInitializer
      
      * remove paddle.fluid.initializer.BilinearInitializer NumpyArrayInitializer and set_global_initializer
      
      * change fluid to static
      
      * change static to fluid to avoid circular import in distributed_strategy.py
      
      * fix example code and test_initializer
      
      * ValueType
      
      * sample code fix
      
      * change set_global_initializer back to fluid
      
      * put paddle.static.BuildStrategy.ReduceStrategy into the fuction to avoid circular import
      
      * remove calculate_gain, delete BilinearInitializer and revert set_global_initializer
      
      * change the time of using UniformInitializer, ConstantInitializer, NormalInitializer, TruncatedNormalInitializer, XavierInitializer, MSRAInitializer, NumpyArrayInitializer as few as possible
      
      * fix argument incampatible
      
      * fix more arg incompatible
      
      * fix test_prelu_op_xpu.py Constant
      
      * fix inaccurate doc
      
      * more doc fix: default value
      6edc7bba
    • Z
      add clip_grad_norm_ API (#49935) · 0855d982
      zxcd 提交于
      * add clip_grad_norm_ api.
      
      * fix docs and some details according to the comments.
      
      * fix code style.
      
      * fix no_grad problem, and fix doc.
      
      * fix code style.
      
      * fix doc and remove type information
      0855d982
  9. 31 1月, 2023 3 次提交
  10. 16 1月, 2023 1 次提交
  11. 13 1月, 2023 3 次提交
  12. 11 1月, 2023 3 次提交
  13. 10 1月, 2023 2 次提交
  14. 06 1月, 2023 2 次提交
  15. 05 1月, 2023 3 次提交
  16. 04 1月, 2023 1 次提交
  17. 03 1月, 2023 2 次提交
  18. 30 12月, 2022 3 次提交
  19. 28 12月, 2022 1 次提交
    • rm legacy nn part2 (#49259) · 69e51c77
      姜永久 提交于
      * rm legacy nn part2
      
      * rm _non_static_mode
      
      * modify
      
      * modify unpool test
      
      * modify unpool test
      
      * modify loss
      
      * keep legacy for layer_norm
      69e51c77