1. 31 3月, 2023 7 次提交
  2. 30 3月, 2023 7 次提交
  3. 29 3月, 2023 7 次提交
  4. 28 3月, 2023 8 次提交
    • 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
    • G
      [CodeStyle][B020] rename iterable and it's iterates when they have same name (#52128) · c05feb90
      gouzil 提交于
      * [CodeStyle][B020] rename for
      
      * [CodeStyle][B020] rename for
      c05feb90
    • G
      [Test Mv] autograd_test (#52142) · b94ef537
      gouzil 提交于
      * [Test Mv] autograd_test
      
      * [Move Test] rm py_test_modules
      b94ef537
    • A
      [Test Mv] move collective/multinode to test dir (#51982) · ceca55c5
      Ainavo 提交于
      * [Test Mv] move collective/multinode to test dir
      
      * add CMakeList.txt to test/collective
      
      * add bash_test_modules
      
      * adjust the order
      
      * recover bash_test_modules
      
      * add_subdirectory(collective)
      
      * resolve conflicts
      
      * resolve conflicts
      ceca55c5
    • K
      [Test Mv]mv dataset test (#52148) · 431e8dbd
      Kim 提交于
      * mv python/paddle/dataset/tests/ test/dataset/
      
      * use path to get file path
      
      * add dataset
      
      * remove cmake entry
      
      * add all ops
      
      * solve conflicts
      431e8dbd
    • Z
      [Move Test] move rpc (#52166) · a34abdb5
      Zheng-Bicheng 提交于
      * update
      
      * update
      a34abdb5
    • Z
      [Move Test] move contrib (#52168) · 28a76556
      Zheng-Bicheng 提交于
      * update
      
      * update
      28a76556
    • Z
  5. 26 3月, 2023 2 次提交
  6. 25 3月, 2023 2 次提交
  7. 24 3月, 2023 4 次提交
  8. 23 3月, 2023 1 次提交
  9. 22 3月, 2023 2 次提交
    • HappyHeavyRain's avatar
      Support optimizers operator to be generated (#51767) · 0b008e0c
      HappyHeavyRain 提交于
      * test_get_kernel
      
      * add invoke signature
      
      * change reduce_max
      
      * change frobenius_norm
      
      * reset reduce_max according to composite and change reduce_all
      
      * fix the bug when Scalar(*)
      
      * fix 'scalar when support_tensor'
      
      * change code according to review
      
      * change 'keep_signature' to 'manual_signature' and add some erro info
      
      * support optimizers autogen
      
      * change sgd yaml
      
      * change generate signature
      
      * fix test/cpp/new_executor/CM
      
      * reset signature generated function
      
      * change signature funciton
      
      * change signature funciton
      0b008e0c
    • Z
      [Test Mv] legacy_test (#51941) · 1617ba76
      Zheng-Bicheng 提交于
      1617ba76