1. 09 2月, 2023 1 次提交
  2. 06 2月, 2023 1 次提交
  3. 02 2月, 2023 1 次提交
  4. 11 1月, 2023 2 次提交
    • 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
    • R
      [Dy2St] 移除 ProgramTranslator (#49628) · 2bb28f31
      Ryan 提交于
      * add enable_to_static and drop some methods of ProgramTranslator
      
      * fix code style
      
      * fix cant import enable_to_static and update unitest
      
      * change unitest and rollback code of PT
      
      * fix can't import as of utils
      
      * roll back PT
      
      * fix roll back
      
      * add some unitest
      
      * add unitest and fix codestyle bug in api.py
      
      * finish all unitest
      
      * remove ProgramTranslator
      
      * fix code style
      
      * restore test_program_translator
      
      * api.py remove get_func
      
      * TestDygraphToStaticCode
      
      * fix check_type and import err
      
      * roll back PT without getcode
      
      * roll back pt with get_code
      
      * convert_to_static
      
      * fix import __all__
      2bb28f31
  5. 09 1月, 2023 3 次提交
  6. 03 1月, 2023 1 次提交
    • G
      Move out sequential and replace save_dygraph and load_dygraph (#48709) · 7ff66973
      GGBond8488 提交于
      * remove fluid.save_dygraph and fluid.load_dygraph use paddle.save and paddle.load instead
      
      * move Sequential to paddle.nn
      
      * modify convert_call_func.py Sequential reference
      
      * remove related unitests
      
      * remove fluid.dynamic.Sequntial
      
      * test remove conver_call_func
      
      * fix conflicts
      
      * fix typro
      
      * fix unitests
      
      * fix sample_code
      
      * fix unitest
      
      * fix __init__
      7ff66973
  7. 23 12月, 2022 2 次提交
  8. 22 12月, 2022 1 次提交
  9. 20 12月, 2022 2 次提交
  10. 16 12月, 2022 1 次提交
  11. 13 12月, 2022 1 次提交
  12. 07 12月, 2022 1 次提交
  13. 06 12月, 2022 1 次提交
  14. 05 12月, 2022 1 次提交
  15. 29 11月, 2022 1 次提交
  16. 28 11月, 2022 3 次提交
  17. 18 11月, 2022 1 次提交
  18. 03 11月, 2022 1 次提交
  19. 01 11月, 2022 1 次提交
    • N
      [CodeStyle][E711] use `is`/`is not` for comparison with `None` (#47452) · a35a4a53
      Nyakku Shigure 提交于
      * [CodeStyle][E711] use `is`/`is not` for comparison with `None`
      
      * `self.assertTrue($A is None)` -> `self.assertIsNone($A)`
      
      * `self.assertTrue($A is not None)` -> `self.assertIsNotNone($A)`
      
      * `self.assertFalse($A is None)` -> `self.assertIsNotNone($A)`
      
      * `self.assertEqual($A, None)` -> `self.assertIsNone($A)`
      
      * `self.assertNotEqual($A, None)` -> `self.assertIsNotNone($A)`
      a35a4a53
  20. 31 10月, 2022 1 次提交
  21. 26 10月, 2022 2 次提交
  22. 23 10月, 2022 1 次提交
  23. 20 10月, 2022 1 次提交
    • Y
      add paddle audio dataset && backend (#45939) · ec5b27f5
      YangZhou 提交于
      * add audio feature dataset
      
      * fix coding style
      
      * fix coding style2
      
      * rm librosa
      
      * rm voxceleb
      
      * rm librosa in test
      
      * add scipy fftpack
      
      * add functional
      
      * fix setup
      
      * fix setup2
      
      * rm colorlog
      
      * refactor dataset __init__.py
      
      * fix converage
      
      * fix librosa import error
      
      * fix windows test
      
      * fix windows ci
      
      * rm datasets
      
      * fix setup
      
      * remove testdata
      
      * add librosa in requirement
      
      * add librosa in requirement2
      
      * change librosa to 0.8.1
      
      * update ci docker
      
      * fix ci error
      
      * fix ci error2
      
      * fix ci coverage
      
      * fix converage
      
      * fix coverage
      
      * rm audio_base in test, notest,test=coverage
      
      * fix copyright
      
      * rm backend
      
      * add datast in __init__
      
      * rm compliance&&add function test
      
      * fix setup
      
      * fix windows
      
      * fix windows2
      
      * fix test timeout
      
      * add backend & datasets
      
      * fix bugs
      
      * fix ci time issue
      
      * add dataset test
      
      * rm test_audio_feature
      
      * avoid windows isssue, tmp
      
      * note windows isssue
      
      * skip windows issue
      
      * refactor dataset test
      
      * add dataset.py
      
      * fix dtype in layers.mfcc
      
      * fix ci-static-check
      
      * fix dtype in layers.mfcc && fix ci-static-check
      
      * add relative accuracy
      
      * modity API.spec
      
      * skip cuda11.2 test
      
      * skip cuda11.2 test2
      
      * skip cuda11.2
      
      * change dataset name
      
      * fix format
      
      * update api.spec
      
      * update api.spec2
      
      * fix coverage
      
      * add dataset test
      
      * rm download load dict
      
      * rm download load dict in init
      
      * update api.spec3
      
      * fix dataset coverage
      
      * fix coverage
      
      * fix coverage2
      
      * restore api.spec
      
      * restore api.spec2
      
      * fix api-spec 3
      
      * fix api-spec 4
      
      * fix api.spec
      
      * fix api.spec6
      
      * refactor init_backend
      
      * fix typo
      
      * change paddleaudio backend set
      
      * fix get_current_audio_backend()
      
      * fix format
      
      * fix format2
      
      * remove format in parameters
      
      * fix format2
      
      * add warning massage in wave_backend && remove redundant audio util
      
      * rm audio util in print_signatures
      
      * fix format3
      
      * add tess dataset license
      
      * format warning
      
      * add more info in warning msg
      
      * add paddleaudio version check
      
      * replace dataset esc50 with tess
      
      * add tess dataset && rm numpy transform in dataset.py
      
      * fix set audio backend bug
      
      * fix equal error
      
      * fix format && coverage error
      
      * add api example
      
      * fix format
      
      * fix error
      
      * fix typo
      
      * add noqa in __init__
      
      * fix backend doc example error
      
      * rm seed in dataset
      
      * update bakcend example
      
      * fix typo
      
      * fix typo
      
      * fix example err
      
      * fix typo
      
      * fix ci dataset test
      
      * fix example fil
      
      * try to fix ci
      
      * clean dataset doc
      
      * change get_current_audio_backend to get_current_backend
      
      * creplace paddle.audio.backends.info with paddle.audio.info, same with load, save
      
      * fix ci error
      
      * repalce api in test_audio_backend
      
      * fix save&&set_backend exmaple
      ec5b27f5
  24. 18 10月, 2022 1 次提交
    • Y
      update audio api examples (#46938) · c7d2e82c
      YangZhou 提交于
      * update audio api examples
      
      * fix format
      
      * format
      
      * fix
      
      * test api
      
      * fix format
      
      * fix static check error
      
      * fix doc error
      
      * fix ci
      
      * fix api error
      
      * update api.spec
      
      * fix ci
      
      * fix typo in window gaussian
      c7d2e82c
  25. 13 10月, 2022 1 次提交
  26. 12 10月, 2022 1 次提交
  27. 11 10月, 2022 1 次提交
  28. 27 9月, 2022 1 次提交
  29. 20 9月, 2022 1 次提交
    • R
      logger manager (#45909) · 264ad205
      Roc 提交于
      uniform logger manager in FleetAPI.
      hidde API under distributed/utils which users don't need.
      264ad205
  30. 09 9月, 2022 1 次提交
    • Y
      Add paddle audio feature module (#45424) · 7c1dc754
      YangZhou 提交于
      * add audio feature dataset
      
      * fix coding style
      
      * fix coding style2
      
      * rm librosa
      
      * rm voxceleb
      
      * rm librosa in test
      
      * add scipy fftpack
      
      * add functional
      
      * fix setup
      
      * fix setup2
      
      * rm colorlog
      
      * refactor dataset __init__.py
      
      * fix converage
      
      * fix librosa import error
      
      * fix windows test
      
      * fix windows ci
      
      * rm datasets
      
      * fix setup
      
      * remove testdata
      
      * add librosa in requirement
      
      * add librosa in requirement2
      
      * change librosa to 0.8.1
      
      * update ci docker
      
      * fix ci error
      
      * fix ci error2
      
      * fix ci coverage
      
      * fix converage
      
      * fix coverage
      
      * rm audio_base in test, notest,test=coverage
      
      * fix copyright
      
      * rm backend
      
      * rm compliance&&add function test
      
      * fix setup
      
      * fix windows
      
      * fix windows2
      
      * fix test timeout
      
      * fix ci time issue
      
      * rm test_audio_feature
      
      * avoid windows isssue, tmp
      
      * note windows isssue
      
      * skip windows issue
      
      * fix dtype in layers.mfcc && fix ci-static-check
      
      * add relative accuracy
      
      * modity API.spec
      
      * skip cuda11.2 test
      
      * skip cuda11.2 test2
      
      * skip cuda11.2
      7c1dc754
  31. 17 8月, 2022 1 次提交
    • N
      [CodeStyle][NPU] use np.testing.assert_allclose instead of... · 2de0d676
      Nyakku Shigure 提交于
      [CodeStyle][NPU] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 1) (#44988)
      
      * autofix
      
      * try resolve precision issues
      
      * revert some changes
      
      * clean some `err_msg`
      
      * 0.0001 -> 1e-4
      
      * update commented assert code
      
      * try to fix some shape errors
      
      * `numpy` -> `np`
      
      * empty commit, trigger kunlun ci, test=kunlun
      
      * empty commit, retrigger kunlun ci, test=kunlun
      
      * empty commit, trigger kunlun ci, try fix npu memcpy_h2d, test=kunlun
      
      * try fix npu import error, test=kunlun
      2de0d676
  32. 10 8月, 2022 1 次提交
    • N
      [CodeStyle] use np.testing.assert_array_equal instead of... · 93c5c887
      Nyakku Shigure 提交于
      [CodeStyle] use np.testing.assert_array_equal instead of self.assertTrue(np.array_equal(...)) (#44947)
      
      * automatically fix
      
      * update comments
      
      * numpy -> np
      
      * self.assertEqual(..., True)
      
      * wrong usage (err_msg=True)
      
      这不是修复导致的错误,这些是原来 `self.assertTrue(..., True)`
      的错误用法,因此在修复后将其认为位置参数 `err_msg`
      
      * some missing fix
      93c5c887