1. 21 4月, 2022 1 次提交
    • Z
      [cherry-pick] Adjust the Phi C++ API and yaml (#41576, #41778, #41909) (#41928) · d24a402e
      zyfncg 提交于
      * [PHI] Support some c++ api in paddle namespace (#41778)
      
      * support some c++ api in paddle namespace
      
      * change c++ api namespace in custom op
      
      * [Phi] Support setting size of vector<Tensor> for out in yaml (#41576)
      
      * support setting vector out size in yaml
      
      * support setting size of vector<tensor> for out in yaml
      
      * add data transform config for shape and size (#41909)
      
      * fix api_gen bug
      d24a402e
  2. 28 2月, 2022 1 次提交
  3. 15 11月, 2021 1 次提交
    • C
      [Pten] Refactor the implementation of custom operator (#37122) · 1e598f1a
      Chen Weihang 提交于
      * move extension into pten [no-verify]
      
      * append tensor methods by ext_tensor [no-verify]
      
      * append other tensor methods [no-verify]
      
      * ext related files tidy [no-verify]
      
      * include relation tidy [no-verify]
      
      * add pten tensor test [no-verify]
      
      * replace tensor in custom op & compile success
      
      * refine tensor constructor for unittest
      
      * custom relu jit run success
      
      * fix all custom op unittests
      
      * add inference cmake adapt [no-verify]
      
      * fix failed unittests
      
      * fix windows failed unittests
      
      * try to fix kunlun and inference failed
      
      * fix test_elementwise_api error
      
      * try to fix win compile failed
      
      * fix kunlun fp16 type error
      
      * remove useless haddle error macro
      
      * add custom linear op test
      
      * fix compile failed & add win symbols
      
      * fix non pten kernel cast failed
      
      * add dll decl for api
      
      * polish several deetails
      
      * polish details by review comment
      
      * add dll_decl for register
      1e598f1a