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. 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
  3. 10 2月, 2022 1 次提交
  4. 15 1月, 2021 1 次提交
    • P
      Add Inplace strategy (Output reuse Input Varbase) in dygraph (#30103) · 13d75736
      pangyoki 提交于
      * add view strategy on squeeze,unsqueeze,reshape,flatten
      
      * add squeeze unittest
      
      * add unittests
      
      * use View strategy as name rather than Reuse Allacation
      
      * fix view api doc
      
      * fix format
      
      * use core.ops when input of reshape2 is Tensor
      
      * fix test_cross_entropy_loss error because of reshape2
      
      * fix test_cross_entropy_loss error because of reshape2
      
      * add inplace strategy
      
      * add elementwise_add sub
      
      * let backward op not use inplace
      
      * grad op do not use inplace
      
      * fix memory increase error and add leaf error message
      
      * delete selected_rows
      
      * change op_function
      
      * little change
      
      * solve HandleViewBetweenInputAndOutput
      
      * add unittest and leaf error message
      
      * merge view error
      
      * optimize op_function_generator format and support sum inplace op
      
      * fix format of basic_engine
      
      * fix format for framework
      
      * little change of variable wrapper
      
      * add reshape, squeeze, unsqueeze, scatter api
      
      * add relu elu tanh softmax inplace api
      
      * fix test_squeeze_op unittest
      
      * fix test_relu_op unittest
      
      * fix comment problems
      
      * delete sample code of inplace api
      
      * add reference of grad_pending_nodes in basic_engine
      
      * fix unittest name
      
      * add inplace apis into wlist
      
      * fix error message
      
      * add PADDLE_ENFORCE for set grad op twice
      
      * fix head file error
      13d75736
  5. 20 11月, 2020 1 次提交
  6. 12 10月, 2020 1 次提交
  7. 11 9月, 2020 1 次提交
  8. 08 9月, 2020 1 次提交
  9. 08 8月, 2020 1 次提交
    • L
      refine unsqueeze, test=develop (#25470) · 5258d53d
      Leo Chen 提交于
      * refine unsqueeze, test=develop
      
      * update unsqueeze, test=develop
      
      * refine unsqueeze, test=develop
      
      * refine unsqueeze, test=develop
      
      * update
      
      * remove None, test=develop
      
      * follow comments
      
      * support bool
      
      * update doc
      
      * follow comments
      
      * merge develop
      5258d53d
  10. 23 4月, 2020 1 次提交
    • Q
      add gather split squeeze stack unsqueeze api (#24035) · 13b03e7a
      Qinghe JING 提交于
      * add gather split squeeze stack unsqueeze api test=develop
      
      * add gather split squeeze stack unsqueeze api test=develop
      
      * fix bug test=develop
      
      * fix bug test=develop
      
      * fix bug test=develop
      
      * fix bug test=develop
      
      * fix bug test=develop
      13b03e7a
  11. 06 1月, 2020 1 次提交
    • Z
      all cases use large shape (#22091) · 8b3ef2a5
      zhupengyang 提交于
      enhanced ops: unsqueeze, squeeze2, strided_slice, unsqueeze,
      unsqueeze2, var_conv_2d, spectral_norm, slice, match_matrix_tensor,
      nce, pad, pad_constant_like, filter_by_instag
      8b3ef2a5
  12. 20 12月, 2019 1 次提交
  13. 12 12月, 2019 1 次提交
    • Z
      fix input shape of op tests (#21682) · 4c987a60
      zhupengyang 提交于
      * fix input shape of op tests for elementwise_sub,
      gather, pad2d, transpose, softmax, scale,
      elementwise_max, hierarchical_sigmoid, reshape2,
      sign, squeeze, reduce_sum, sum, squeeze2,
      unsqueeze, unsqueeze2, cast, reverse
      
      test=develop
      
      * fix cast, elementwise_mul, gather, scale, sign,
      softmax, transpose
      
      test=develop
      4c987a60
  14. 09 9月, 2019 1 次提交
  15. 06 9月, 2018 1 次提交
  16. 20 8月, 2018 1 次提交
  17. 15 8月, 2018 1 次提交
  18. 26 7月, 2018 2 次提交
  19. 09 7月, 2018 1 次提交
  20. 06 7月, 2018 1 次提交
  21. 04 7月, 2018 1 次提交
  22. 03 7月, 2018 2 次提交
  23. 29 6月, 2018 1 次提交