1. 23 10月, 2022 1 次提交
  2. 27 9月, 2022 1 次提交
  3. 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
  4. 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
  5. 19 7月, 2021 1 次提交
  6. 13 10月, 2019 1 次提交
    • G
      Fix basic_gru and docs of gru_unit and dynamic_gru (#19393) · bd99df71
      Guo Sheng 提交于
      * Fix docs of gru_unit and dynamic_gru.
      
      Fix basic_gru in rnn_impl.py.
      
      Add error messages for param_attr setting in layer_norm api.
      
      Add int64 dtype for expand.
      
      test=develop
      
      * Reopen unit-tests of basic_gru/basic_lstm in rnn_impl.py.
      test=develop
      
      * Add unit test for layer_norm api.
      test=develop
      
      * Remove the deprecated gru doc fix. test=develop
      
      * Fix basic_gru test coverage. test=develop
      
      * Update API.spec. test=develop
      
      * Update API.spec. test=develop
      
      * Fix test_basic_gru coverage test. test=develop
      
      * Update test_basic_gru in test_layers to use fluid.data
      test=develop
      
      * Update test_basic_gru for coverage. test=develop
      bd99df71
  7. 25 6月, 2019 1 次提交
    • H
      Sequence mask support tensor (#18249) · df2eee71
      Hongyu Liu 提交于
      * sequnce mask support max length tensor input; test=develop
      
      * add rnn_impl.py; test=develop
      
      * add basic gru lstm unittest; test=develop
      
      * fix api spec; test=develop
      
      * fix sequence_mask op bug;
      test=develop
      test=document_preview
      
      * change +-*x to elmentwise_op; test=develop
      
      * add mkl flag; test=develop
      
      * fix rnn impl bug; test=develop
      
      * update api spec; test=develop
      
      * fix doc bug; test=develop
      
      * fix lstm bugs; test=develop
      df2eee71