1. 15 3月, 2022 1 次提交
    • H
      Move one hot to phi (#39876) · 7701db37
      hong 提交于
      * move one hot to phi; test=develop
      
      * fix bugs; test=develop
      
      * fix bugs; test=develop
      
      * add infer meta; test=develop
      
      * fix bugs; test=develop
      
      * resolve confilct
      
      * resolve confilct
      
      * fix bug;
      
      * fix error; test=develop
      
      * update; test=develop
      
      * polish code; test=develop
      
      * add one api in eager mode; test=develop
      
      * add one hot test; test=develop
      
      * remove use less code; test=develop
      
      * fix bug; test=develop
      
      * polish code; test=develop
      
      * polish code; test=develop
      7701db37
  2. 11 3月, 2022 2 次提交
    • C
      [Phi] Reduce grad (#40263) · f452ad5c
      chentianyu03 提交于
      * add reduce_sum grad kernel
      
      * add reduce_grad
      
      * modify reduce grad
      
      * update reduce grad functions
      
      * fix build error
      
      * add argument mapping
      
      * move cast input after grad
      
      * add dims.size=1 cpu reduce_sum grad compute method
      
      * update reduce grad GPU
      
      * remove raw reduce_sum_grad kernel
      
      * modify header files
      
      * add namespace funcs for reduce_grad_funcstions
      f452ad5c
    • Z
      [Phi]Move expand_as kernel to phi (#40373) · 8cabb9f3
      Zhang Zheng 提交于
      * first commit
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix xpu and npu
      
      * fix
      8cabb9f3
  3. 10 3月, 2022 1 次提交
    • Z
      [Phi]Move topk kernel to phi (#40064) · 329b095e
      Zhang Zheng 提交于
      * first commit
      
      * cpu kernel
      
      * first version
      
      * fix compile error
      
      * fix compile error
      
      * delete v2
      
      * fix
      
      * fix
      
      * add alias
      
      * fix
      
      * fix
      
      * fix
      
      * fix error
      
      * fix
      
      * fix
      
      * fix
      
      * fix format
      329b095e
  4. 09 3月, 2022 1 次提交
    • C
      [Phi] move Reduce max kernel into phi (#40225) · 8031a4dc
      chentianyu03 提交于
      * add reduce_max kernel
      
      * add reduce max kernel
      
      * update reduce max Argumentmapping
      
      * remove reduce_max kernel
      
      * remove reduce_max kernel
      
      * add reduce max infermeta
      
      * rename reduce infermeta
      8031a4dc
  5. 08 3月, 2022 1 次提交
  6. 06 3月, 2022 1 次提交
  7. 25 2月, 2022 1 次提交
  8. 22 2月, 2022 1 次提交
  9. 20 2月, 2022 1 次提交
  10. 15 2月, 2022 1 次提交
    • L
      [Pten]Move expand_v2 to pten (#39471) · 2d16d69b
      Linjie Chen 提交于
      * move expand to pten
      
      * move expand_v2 to pten
      
      * move expand_v2 to pten
      
      * fix grad register
      
      * fix grad register
      
      * fix tensorcpry
      
      * fix tensorcopy
      
      * fix tensorcopy
      
      * fix tensorcopy
      
      * fix tensorcopy
      
      * fix ci
      
      * fix tensorcopy
      2d16d69b
  11. 10 2月, 2022 1 次提交
  12. 02 2月, 2022 1 次提交
  13. 29 1月, 2022 1 次提交
    • C
      [PTen] Tidy pten core headers (#39188) · dd990981
      Chen Weihang 提交于
      * open header for custom kernel
      
      * add core utils
      
      * tidy core code
      
      * tify header
      
      * tidy include
      
      * tidy namespace
      
      * resolve conflit
      
      * fix unittest and coverage
      
      * remove platform using
      
      * resolve conflict
      
      * resolve conflict
      
      * fix digamma namespace error
      
      * fix xpu full kernel error
      
      * fix xpu full kernel error
      
      * polish details
      
      * add place for lib storage
      dd990981
  14. 26 1月, 2022 1 次提交
    • C
      [PTen] Unify InferMeta(Shape) Function in pten and fluid op (#38976) · b75507d3
      Chen Weihang 提交于
      * infermeta context init design
      
      * support infermeta called in fluid op
      
      * add hasattr and attr methods
      
      * add dygraah GetVarPtrs support
      
      * rename arg_map_context to arg_map_utils
      
      * add registry for arg map func
      
      * resolve conflit
      
      * refactor op utils design
      
      * polish meta config
      
      * fix details
      
      * remove hasattr method
      
      * resolve conflit
      
      * revert cmake order change
      
      * revert some change
      
      * change init pos
      
      * fix compile faileed
      
      * fix typo
      
      * fix inference failed
      
      * fix windows ccompile failed
      
      * polish format
      Co-authored-by: NWang Huan <wanghuan29@baidu.com>
      b75507d3