1. 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
  2. 21 6月, 2022 1 次提交
  3. 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
  4. 30 3月, 2022 1 次提交
    • W
      [Eager] dlpack (#40811) · 4d300224
      wanghuancoder 提交于
      * dlpack eager, test=develop
      
      * eager test_base_layer, test=develop
      
      * fix error report, test=develop
      
      * eager _getitem_from_offset, test=develop
      
      * refine, test=develop
      
      * refine offset, test=develop
      
      * add test_inner test_outer, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      4d300224
  5. 21 3月, 2022 1 次提交
    • H
      Merge some test bug (#40543) · 56c43ccd
      hong 提交于
      * switch eager mode and change it
      
      * set default is eager
      
      * set default is eager
      
      * fix error; test=develop
      
      * fix some error; test=develop
      
      * update
      
      * upd
      
      * update code; test=develop
      
      * update
      
      * fix some bug; test=develop
      
      * fix bug; test=develop
      
      * fix bug; test=develop
      
      * fix bug; test=develop
      
      * fix error; test=develop
      
      * format; test=develop
      Co-authored-by: NJiabinYang <360788950@qq.com>
      56c43ccd
  6. 14 12月, 2021 1 次提交
  7. 12 5月, 2021 1 次提交
  8. 26 4月, 2021 1 次提交
  9. 13 4月, 2021 1 次提交
    • C
      add layer.to api (#32040) · 6e946e9d
      chentianyu03 提交于
      * add layer.to api
      
      * add layer.to api
      
      * add layer.to api
      
      * add the doc for Layer.to
      
      * add input type checking
      
      * modify assert and import bug
      
      * format code style
      
      * format code style
      
      * make place support str type
      
      * add SetGradVarBase method to set the gradient after conversion
      
      * modify argument palce to device
      
      * modify argument palce to device
      
      * modify doc of layers.to API
      
      * add xpuplace to device argument
      6e946e9d
  10. 02 11月, 2020 1 次提交
  11. 20 8月, 2020 1 次提交
  12. 29 6月, 2020 1 次提交
    • A
      [Dy2stat]Support buffers and register_buffer in Layer (#24888) · 02adf68d
      Aurelius84 提交于
      * support to save varBase created in __init__ test=develop
      
      * polish code test=develop
      
      * refine to_static_var test=develop
      
      * refine warning test=develop
      
      * add unitteset for to_static_var test=develop
      
      * fix logger test=develop
      
      * polish buffers en doc test=develop
      
      * fix param_guard test=develop
      
      * refine en doc test=develop
      02adf68d
  13. 09 1月, 2020 1 次提交
    • S
      named_sublayers and named_parameters (#21868) · 83037e55
      songyouwei 提交于
      * use snake_cased Layer name
      
      * add named_parameters and named_sublayers api
      
      * add include_sublayers param, add unittest
      test=develop
      
      * fix named unittests
      test=develop
      
      * fix unittest
      test=develop
      
      * add api docs
      test=develop
      
      * arg fix
      test=develop
      
      * reserve rnn_impl name_scope for static graph
      test=develop
      
      * fix load static param
      test=develop
      
      * fix load static param
      test=develop
      83037e55
  14. 29 3月, 2019 1 次提交
  15. 28 3月, 2019 1 次提交
  16. 06 3月, 2019 2 次提交
    • J
      test=develop, reconstruct layer helper to fit imperative usage (#15938) · ab19d92e
      Jiabin Yang 提交于
      * test=develop, reconstruct layer helper to fit imperative usage
      
      * test=develop, fix import error on py35
      
      * test=develop, fix rnn gradient error
      
      * test=develop, delete test use code
      
      * test=develop, remove helper from imperative usage
      
      * test=develop, fix test_base_layer using new helper
      
      * test=develop, reconstruct layerhelper for imperative mode
      
      * test=develop, reconstruct layerhelper for imperative mode
      
      * test=develop, fix bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix bug
      
      * test=develop, polish code
      ab19d92e
    • J
      test=develop, reconstruct layer helper to fit imperative usage (#15938) · 654825cf
      Jiabin Yang 提交于
      * test=develop, reconstruct layer helper to fit imperative usage
      
      * test=develop, fix import error on py35
      
      * test=develop, fix rnn gradient error
      
      * test=develop, delete test use code
      
      * test=develop, remove helper from imperative usage
      
      * test=develop, fix test_base_layer using new helper
      
      * test=develop, reconstruct layerhelper for imperative mode
      
      * test=develop, reconstruct layerhelper for imperative mode
      
      * test=develop, fix bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix bug
      
      * test=develop, polish code
      654825cf
  17. 22 2月, 2019 1 次提交
  18. 15 2月, 2019 2 次提交