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. 20 4月, 2023 2 次提交
  3. 17 4月, 2023 1 次提交
  4. 14 4月, 2023 1 次提交
  5. 13 4月, 2023 6 次提交
  6. 12 4月, 2023 3 次提交
  7. 11 4月, 2023 1 次提交
  8. 10 4月, 2023 2 次提交
  9. 08 4月, 2023 1 次提交
  10. 07 4月, 2023 1 次提交
  11. 06 4月, 2023 1 次提交
  12. 04 4月, 2023 3 次提交
  13. 03 4月, 2023 4 次提交
  14. 31 3月, 2023 3 次提交
  15. 30 3月, 2023 2 次提交
  16. 29 3月, 2023 1 次提交
  17. 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
  18. 27 3月, 2023 1 次提交
  19. 24 3月, 2023 2 次提交
  20. 23 3月, 2023 1 次提交