1. 23 4月, 2023 1 次提交
    • J
      Cherry pick getitem/setitem 0d (#53125) · a79c04f3
      JYChen 提交于
      * support 0-D output and 0-D as indice in __getitem__
      
      * fix tests
      
      * fix inference and UT
      
      * add unittest for setitem
      
      * fix xpu test
      
      * fix xpu 0-d
      a79c04f3
  2. 17 4月, 2023 1 次提交
  3. 13 4月, 2023 3 次提交
  4. 12 4月, 2023 1 次提交
  5. 10 4月, 2023 1 次提交
  6. 04 4月, 2023 2 次提交
  7. 03 4月, 2023 1 次提交
  8. 31 3月, 2023 1 次提交
    • G
      FIX_LINUX_Wternimate (#52307) · ffff133b
      Galaxy1458 提交于
      * this is a test pr, test=develop
      
      * solve the four [-Wterminate] warning, test=develop
      
      * solve the four [-Wterminate] warning, test=develop
      
      * new fix [-Wterminate], test=delelop
      
      * new fix [-Wterminate], test=delelop
      
      * new fix [-Wterminate], test=delelop
      
      * new , test = develop
      
      * new , test = develop
      
      * new , test = develop
      
      * new , test = develop
      
      * new , test = develop
      
      * new , test = develop
      ffff133b
  9. 28 3月, 2023 3 次提交
    • F
      Add basic functionalities to support Scalar & Scalars in op attr (#51984) · 2e9fd5e4
      Feiyu Chan 提交于
      Add basic functionalities to support Scalar & Scalars in operator attribute.
      
      1. extend allowed types in operator's attribute type, add `paddle::experimental::Scalar`, add corresponding protobuf Message types;
      2. Scalar enhancement, add formatting, equality;
      3. add code to handle Scalar & Scalars in opmaker, conversion from  paddle operator to phi kernel, opdesc construction and manipulation,  tensorrt converter, tracer, operator construction, etc;
      4. bind `paddle::experimental::Scalar` to python, as `libpaddle.Scalar`;
      5. add functionality to canonicalize attribute map according to OpProto(if the op the attribute map used for has an OpProto);
      6. add code to manipulate Scalar proto message via protobuffer python API;
      
      Add unittests.
      
      1. add test cases for formatting, equality for Scalars, and WrapAsScalars;
      2. add test cases for 'casting' between different morphs of attributes;
      3. add test cases for extracting scalar & scalars from attribute;
      4. add test cases for CanonicalizeScalarAttrs(and fix a bug in type index offset);
      5. fix gmock's library filename on windows platform.
      6. clean code: use canonicalize_attrs instead of inlining the function;
      7. add test cases for libpaddle.Scalar in python code.
      8. add test cases for `make_scalar_proto`, which manipulate proto message `Scalar` via protobuffer python API.
      2e9fd5e4
    • Z
      [inference] Remove log about fluid and fix uninitialization warning (#51558) · e91a7896
      Zhang Jun 提交于
      * Remove log about fluid
      * Remove useless forward declarations
      * Fix uninitialization warning (trt onehot)
      e91a7896
    • Y
      [Hackathon NO.77] 为 Paddle-TRT 添加 bitwise 算子 (#51971) · 864b50c3
      Young-Flash 提交于
      * add bitwise_not trt converter
      
      * run pre-commit
      
      * modify neg_one_tensor_dims init way
      
      * fix BOOL type support requires TensorRT 8.4
      
      * fix int8 & uint8 type
      
      * improve data type readability
      
      * modify filter logic
      
      * fix coverage CI
      864b50c3
  10. 23 3月, 2023 2 次提交
  11. 22 3月, 2023 1 次提交
  12. 21 3月, 2023 3 次提交
  13. 20 3月, 2023 2 次提交
    • Y
      [PHI Decoupling]Add PHI init for extension (#51511) · 62712aec
      YuanRisheng 提交于
      * remove init
      
      * delete fluid in context pool
      
      * fix custom op bugs
      
      * fix profiler bugs
      
      * fix ci bugs
      
      * fix window compile bugs
      
      * fix windows bugs
      
      * fix window bugs
      62712aec
    • S
      [Hackathon NO.71] 为 Paddle-TRT 添加 pad3d 算子 (#50986) · c36e3fd2
      Sonder 提交于
      * update codes about pad3d
      
      * add codes about Tensor type Padding
      
      * update
      
      * 更新单测文件
      
      * format code style
      
      * update and to &&'
      
      * rewrite codes about pad3d
      
      * add codes about converting paddle pad format to tensorrt pad format
      
      * fix some errors
      
      * 指定trt版本范围
      
      * 修正dims初始化方式
      
      * fix code style
      
      * update test pad values
      
      * 指定pad3d trt版本
      
      * 更新 单测 文件范围
      
      * 更新单测文件
      
      * update pad3d paddings convert codes
      
      * update pad3d
      
      * add static mode support
      
      * update test file
      
      * fix bugs about dynamic mode test codes
      
      * fix bug and add limite in op_teller
      
      * use a new padding convert method[ITensor* padding with using Slice to split the pre_pad and the  post pad]
      
      * fix PADDLE_THROW grammaly error
      
      * update test codes
      
      * 添加对于Tensor padding 的 size 判断
      c36e3fd2
  14. 16 3月, 2023 2 次提交
  15. 14 3月, 2023 1 次提交
  16. 13 3月, 2023 1 次提交
    • W
      squeeze2_op (#51146) · f9a4f007
      wenbin 提交于
      * squeeze2_op
      
      * add ut
      
      * fix ut
      
      * fix static
      
      * modity ut
      f9a4f007
  17. 09 3月, 2023 2 次提交
  18. 07 3月, 2023 1 次提交
  19. 06 3月, 2023 1 次提交
  20. 02 3月, 2023 4 次提交
  21. 28 2月, 2023 1 次提交
  22. 27 2月, 2023 1 次提交
  23. 24 2月, 2023 2 次提交
  24. 22 2月, 2023 1 次提交
  25. 20 2月, 2023 1 次提交