1. 31 3月, 2023 1 次提交
    • iSerendipity's avatar
      [Test Mv] move mkldnn unittests to test dir (#51911) · 63865c74
      iSerendipity 提交于
      * move mkldnn unittests to test dir
      
      * add py_test_modules funcs
      
      * move py_test_modules to test/mkldnn
      
      * fix import error
      
      * Revert "move py_test_modules to test/mkldnn"
      
      This reverts commit 0277e0c29c22e5c29b7a3b843103f3d0b711c442.
      
      * fix import error by conflicts
      
      * fix errors
      
      * fix mistake on solving conflicts
      63865c74
  2. 28 3月, 2023 1 次提交
  3. 25 3月, 2023 1 次提交
  4. 25 11月, 2022 1 次提交
  5. 23 10月, 2022 1 次提交
  6. 27 9月, 2022 1 次提交
  7. 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
  8. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  9. 19 7月, 2021 1 次提交
  10. 21 6月, 2021 1 次提交
  11. 29 9月, 2020 1 次提交
  12. 13 2月, 2020 1 次提交
  13. 21 11月, 2019 1 次提交
    • Z
      open dygraph op test, test=develop (#19787) · c4ede95c
      zhongpu 提交于
      * open dygraph op test, test=develop
      
      * modify to_variable, test=develop
      
      * modify input and output for dygraph, test=develop
      
      * modify input and output for dygraph(fix bug), test=develop
      
      * fix input processing of dygraph op test, test=develop
      
      * fix bug, test=develop
      
      * fix op test, test=develop
      
      * fix forward bug for dygraph, test=develop
      
      * fix mkldnn op test for forward, test=develop
      
      * update nn.py for dygraph, test=develop
      
      * fix crop_tensor_op, test=develop
      
      * fix elementwise_mul_op, test=develop
      
      * fix fill_op, test=develop
      
      * fix some mkldnn op, test=develop
      
      * open backward op test for dygraph, test=develop
      
      * delete log, test=develop
      
      * close backward op test for dygraph, test=develop
      
      * fix bug for edit_distance_op and test_lstm_cudnn_op, test=develop
      
      * fix optest backward bug for dygraph, test=develop
      
      * fix optest backward bug for dygraph, test=develop
      
      * close backward op test for dygraph, test=develop
      
      * close backward op test for dygraph, test=develop
      
      * open dygraph op test, test=develop
      
      * fix op test for dygraph, fix GradOpDescMaker, test=develop
      
      * fix bug for linear_chain_crf_op.h, test=develop
      
      * remove log, test=develop
      
      * remove log, test=develop
      
      * remove log for op_test.py, test=develop
      
      * remove log for op_test.py, test=develop
      
      * fix bug for var_conv_2d_op, change PADDLE_ENFORCE, test=develop
      
      * fix PADDLE_ENFORCE_EQ for hierarchical_sigmoid_op.cc, test=develop
      
      * fix bug for test_increment_ngraph_op.py, test=develop
      
      * fix lod for op test in dygraph, test=develop
      
      * refactor op_test.py to reduce redundant code, test=develop
      
      * fix lod optest, modify InputVar/OutputVar to HasInput/HasOutput, test=develop
      
      * remove debug log, test=develop
      
      * remove redundant code in base.py, test=develop
      
      * fix some error in optest, test=develop
      
      * fix ClearNoNeedBufferInputs function's bug for LoDTensor, test=develop
      
      * refactor op_test.py, test=develop
      
      * remove redundant writing, test=develop
      
      * fix error(get tensor of the grad variable), test=develop
      
      * fix test_concat_mkldnn test_conv2d_mkldnn, test=develop
      
      * fix optest.py for get tensor of LoDTensor, test=develop
      
      * fix optest.py for get tensor of LoDTensor, test=develop
      
      * fix optest.py for get tensor of LoDTensor, test=develop
      
      * fix some redundant code, test=develop
      
      * reslove conflict and rewrite paddle error message, test=develop
      c4ede95c
  14. 06 3月, 2019 1 次提交
    • X
      Add Requantize OP (#15318) · a177d482
      xiaolil1 提交于
      * Enable INT8 ReQuantize OP
      test=develop
      
      * Clean code
      test=develop
      
      * Add comments
      test=develop
      
      * Revert "Clean code"
      test=develop
      
      This reverts commit a7a49b8a.
      
      * Modify requantize op test
      test=develop
      
      * fix requantize UT by moving public function to public test file.
      test=develop
      
      * Fix test fail due to file address change.
      test=develop
      
      * Change file address for requantize op.
      test=develop
      a177d482
  15. 29 1月, 2019 1 次提交
  16. 20 12月, 2018 1 次提交