1. 04 7月, 2023 1 次提交
  2. 14 6月, 2023 1 次提交
    • C
      [prim] move batch_norm prim test to op_test (#54458) · 58b4c60f
      cyber-pioneer 提交于
      * move batch_norm prim test to op_test
      
      * fix optest bug
      
      * add test to cmake
      
      * add cinn test case
      
      * fix batch_norm prim grad bf16
      
      * fix code
      
      * add cuda check
      
      * fix batch_norm bfloat16
      
      * fix cpu bfloat16 bug
      
      * skip non-bfloat16-supported platform
      
      * fix code
      
      * fix cinn rtol and atol in bfloat16
      
      * fix name
      
      * fix config
      58b4c60f
  3. 12 6月, 2023 1 次提交
  4. 09 6月, 2023 1 次提交
  5. 05 6月, 2023 1 次提交
    • S
      【Complex Op】Remove user defined grad (#54090) · b00ed3f6
      Scotty 提交于
      * clean complex_abs op
      
      * clean complex_op test
      
      * clean complex_view_op test
      
      * clean elementwise_mul_op test
      
      * clean conj_op test
      
      * clean dot_op test
      
      * clean elementwise_add_op test
      
      * clean kron_op test
      
      * clean matmul_v2_op test
      
      * remove unsed function
      
      * remove elementwise_sub_op test
      
      * clean elementwise_div test
      b00ed3f6
  6. 01 6月, 2023 2 次提交
    • zhouweiwei2014's avatar
    • T
      mv all unittests test (#53235) · b0e86d55
      tianshuo78520a 提交于
      * mv all unittests test
      
      * fix error
      
      * fix error
      
      * fix
      
      * fix
      
      * del unittests
      
      * fix paddle_build.sh
      
      * fix
      
      * fix test
      
      * fix add test
      
      * fix
      
      * fix
      
      * fix
      
      * merge develop
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * merge develop
      
      * fix test_async_read_write
      
      * fix test_async_read_write
      
      * merge develop
      
      * fix
      
      * fix import legacy_test
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix bug
      
      * fix
      
      * fix coverage test bug
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix code sstyle
      
      * fix code
      
      * fix code
      
      * fix
      
      * fix
      
      * fix
      
      * del test_sequence_enumerate_op.py
      
      * fix
      b0e86d55
  7. 23 5月, 2023 1 次提交
  8. 18 5月, 2023 1 次提交
  9. 10 5月, 2023 1 次提交
  10. 08 5月, 2023 1 次提交
    • G
      add complex support for optest (#53356) · e522ceb7
      GGBond8488 提交于
      * add complex support for  optest
      
      * add complex grad test
      
      * append one
      
      * move some debug info
      
      * move some debug info
      
      * move some debug info
      
      * move some debug info
      
      * add more complex test
      
      * Fix naming ambiguity
      
      * Revert "add more complex test"
      
      This reverts commit dbcb0516b8e53ba42e2d6089878a39b395345969.
      
      * change backward gradient, add TODO
      e522ceb7
  11. 28 4月, 2023 1 次提交
  12. 13 4月, 2023 1 次提交
  13. 10 4月, 2023 1 次提交
    • V
      [AMP OP&Test] Add fp16 and bf16 test to activation (#52521) · 6bd5fd75
      Vvsmile 提交于
      * adjust defalut tolerance of output and grad
      
      * fix a bug in the grad of OpTest
      
      * fix the type of setting defalut value in optest, both forward and
      backward
      
      * add defalut
      
      * fix test_sum_op
      
      * adjust tolerance
      
      * fix the tolerance of eager
      
      * add bf16 and fp16 to the activation tests
      
      * remove some fixs
      
      * fix activation
      
      * fix fp16
      
      * fix gelu
      
      * fix the activation tests
      
      * add bfloat16 specialization to singrad and cosgrad
      
      * fix bugs
      
      * fix bugs
      
      * add unittest
      
      * add skip
      
      * add fp/bf to rrelu/rrelu_grad
      
      * git add rrelu
      
      * fix bugs
      6bd5fd75
  14. 07 4月, 2023 1 次提交
  15. 06 4月, 2023 2 次提交
  16. 04 4月, 2023 2 次提交
  17. 03 4月, 2023 1 次提交
  18. 31 3月, 2023 1 次提交
  19. 30 3月, 2023 1 次提交
    • W
      support prim & cinn test for layer_norm (#51272) · 84504f35
      Weilong Wu 提交于
      * support layer_norm prim and cinn test
      
      * enable cinn test
      
      * fix merge conflict
      
      * polish input for check_output_with_place
      
      * fix merge conflict
      
      * add more test case
      
      * fix merge conflict
      
      * polish test case
      
      * polish op_test
      
      * change ln_g rules
      
      * modify scale is none case
      
      * modify scale is none case
      
      * add public_python_api for check prim
      
      * modify setoutputgrad and fp64bug
      
      * add todo & delete log
      
      * recover
      
      * fix some errors
      
      * recover
      
      * recover
      
      * recover
      
      * recover
      
      * fix merge conflicts
      
      ---------
      Co-authored-by: Nwangruting <wangruting@baidu.com>
      84504f35
  20. 28 3月, 2023 2 次提交
    • 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
  21. 25 3月, 2023 1 次提交
  22. 23 3月, 2023 2 次提交
  23. 22 3月, 2023 2 次提交
  24. 20 3月, 2023 1 次提交
  25. 17 3月, 2023 1 次提交
  26. 16 3月, 2023 1 次提交
  27. 14 3月, 2023 1 次提交
  28. 12 3月, 2023 1 次提交
  29. 10 3月, 2023 1 次提交
  30. 09 3月, 2023 2 次提交
    • Z
      Remove paddle.fluid.layers.utils.* (#51033) · 86e990d4
      zqw_1997 提交于
      * move fluid.utils to paddle.utils.layers_utils
      
      * fix error
      
      * delete original fluid layers utils
      
      * remove import and old utils
      
      * remove more old utils import
      
      * change import path of fill_constant in the layers_utils.py
      
      * fix mistake
      
      * fix error
      
      * expose in __init__.py
      
      * for comment
      
      * when change the ref of func is_sequence, it should change to the root of is_sequence instead
      
      * for codecheck
      86e990d4
    • C
      fix prim test (#51385) · ef1aa8ce
      Charles-hit 提交于
      ef1aa8ce
  31. 08 3月, 2023 2 次提交
  32. 07 3月, 2023 1 次提交