1. 01 3月, 2021 1 次提交
    • C
      [Cherry-pick] The 4th part of new custom op (#31282) · 777d1a45
      Chen Weihang 提交于
      * modify custom op dependent from paddle_framework to paddle_custom_op (#31195)
      
      * [Custom Op] Remove unsupport dtypes (#31232)
      
      * remove remove_unsupport_dtype
      
      * remove remove_unsupport_dtype
      
      * remove test dtype
      
      * add more include
      
      * change dtype.h's enum as enum class to avoid conflict with inference lib
      
      * make enum as enum class
      
      * remove additional test
      
      * merge develop
      
      * polish code
      
      * [Custom OP] Support stream set on Custom Op (#31257)
      
      * [Custom OP] change the user header file format, test=develop (#31274)
      
      * [Custom OP]add PD_THROW and PD_CHECK for User Error message (#31253)
      
      * [Custom OP]add PD_THROW and PD_CHECK for User error message
      
      * PD_THROW and PD_CHECK, fix comment
      
      * fix Windows error message
      
      * fix Windows error message
      
      * fix CI
      
      * [Custom OP]add MSVC compile check on Windows (#31265)
      
      * fix test_check_abi
      Co-authored-by: NZhou Wei <52485244+zhouwei25@users.noreply.github.com>
      Co-authored-by: NJiabin Yang <marsyang199376@gmail.com>
      Co-authored-by: N石晓伟 <39303645+Shixiaowei02@users.noreply.github.com>
      Co-authored-by: Nzhouwei25 <zhouwei25@baidu.com>
      777d1a45
  2. 28 2月, 2021 1 次提交
  3. 27 2月, 2021 1 次提交
    • A
      [Cherry-Pick] Split Macros and Add modeling unittest (#31266) · 52f7e773
      Aurelius84 提交于
      * [CustomOp] Add Modeling with Custom op unittest (#31218)
      
      * add unittest for static/dygraph/dy2stat
      
      * add PE unittet
      
      * remove usless code
      
      * add unittest in CMakeList.txt
      
      * [CustomOp] Split build op marco & polish details (#31229)
      
      * split build op marco & polish details
      
      * revert register api del
      
      * fix other unittest
      
      * [CustomOP]Support Incremental compilation and Add Version management (#31228)
      
      * Support Incremental compilation and Add Version management
      
      * replace hash with hashlib
      
      * fix test_op_num unittest
      
      * Revert "fix test_op_num unittest"
      
      This reverts commit 2f78de976e1d7ca60915b2310717b38a32ae204a.
      Co-authored-by: NChen Weihang <chenweihang@baidu.com>
      52f7e773
  4. 26 2月, 2021 3 次提交
  5. 25 2月, 2021 4 次提交
  6. 24 2月, 2021 2 次提交
  7. 23 2月, 2021 8 次提交
  8. 22 2月, 2021 1 次提交
  9. 20 2月, 2021 1 次提交
    • K
      [cherry pick] dataloader fix (#31028) · 1ac6a093
      Kaipeng Deng 提交于
      * fix dataloader collate return list mix tensor and numpy array. test=develop
      
      * remove numpy array check in single-process dataloader. test=develop
      1ac6a093
  10. 19 2月, 2021 1 次提交
    • H
      [Cherry-pick][Dy2stat] Add Support for Tuple in Loop and Refine Error Message (#31036) · 9ad9f357
      Huihuang Zheng 提交于
      * Add Support for Tuple in for Loop (#30998)
      
      Dy2stat didn't support tuple as iteration variable in the past. This PR added there main cases:
      
             1). Non-enumerate case: for var1, var2 in var|var.numpy() will be re-written as:
                for FOR_ITER_TUPLE_PREFIX_x in var | var.numpy():
                  var1 = FOR_ITER_TUPLE_PREFIX_x[0]
                  var2 = FOR_ITER_TUPLE_PREFIX_x[1]
              2). Enumerate out tuple case: for t in enumerate(var|var.numpy) will be rewritten as:
                for FOR_ITER_TUPLE_INDEX_PREFIX_x, FOR_ITER_TUPLE_PREFIX_x in enumerate(var|var.numpy):
                  t = (FOR_ITER_TUPLE_INDEX_PREFIX_x, FOR_ITER_TUPLE_PREFIX_x)
              3). Enumerate inner tuple case: for i, (var1, (var2, va3)) in enumerate(var|var.numpy()) will
              be re-written as:
                for i, FOR_ITER_TUPLE_PREFIX_x in var | var.numpy():
                  var1 = FOR_ITER_TUPLE_PREFIX_x[0]
                  var2 = FOR_ITER_TUPLE_PREFIX_x[1][0]
                  var3 = FOR_ITER_TUPLE_PREFIX_x[1][1]
      
      * Refine fake_interface Error Message (#30981)
      
      Refine fake_interface Error Message
      9ad9f357
  11. 18 2月, 2021 1 次提交
  12. 07 2月, 2021 2 次提交
  13. 05 2月, 2021 2 次提交
  14. 04 2月, 2021 1 次提交
  15. 03 2月, 2021 1 次提交
    • L
      [cherry-pick] Update gather_tree (#30784) · a44b65de
      liu zhengxi 提交于
      * upgrade gather_tree to core.ops (#30697)
      
      * upgrade gather_tree to core.ops
      
      * update gather_tree unittests
      
      * update gather_tree doc (#30693)
      
      * update gather_tree doc, test=document_fix
      
      * update sample code, test=document_fix
      
      * remove tensor type, test=document_fix
      a44b65de
  16. 02 2月, 2021 1 次提交
  17. 29 1月, 2021 1 次提交
    • J
      Cherry pick fix acc sample code bug (#30716) · 1c7ec536
      Jiaqi Liu 提交于
      * Alias from  paddle.fluid.layers.auc to paddle.static.auc (#30206)
      
      * add alias from  fluid.layers.auc to static.auc
      
      * Update __init__.py
      
      * add auc into all list
      
      * alias acc, expose to users
      
      * add auc into 'all' list (#30310)
      
      * add auc into 'all' list
      
      * alias acc, expose to users
      
      * update sample code
      
      * fix paddle.static.acc and auc sample code bug, test=document_fix
      1c7ec536
  18. 20 1月, 2021 7 次提交
  19. 19 1月, 2021 1 次提交