1. 20 3月, 2023 1 次提交
    • G
      Fluid clean move out fill constant (#49511) · c985b1ac
      GGBond8488 提交于
      * migrate fill_constant to paddle.tensor
      
      * move fill_constant to paddle.tensor and repalce the reference
      
      * add missing fill_constant replacement
      
      * fix typro
      
      * remove unused import fill_constant
      
      * fix zeros import error
      
      * fix circle import
      
      * fix layers.zeros
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * use paddle.full replace fill_constant in samplecode
      
      * fix sample code
      
      * recovery xpu test
      
      * recovery xpu test
      
      * fix circle import
      
      * fix utils import error
      
      * fix utils error
      
      * fix circle import
      
      * redo
      
      * fix circle import
      
      * fix prim fill constant import
      
      * fix type error
      
      * fix increase error
      
      * fix test error
      
      * fix fill_constant
      c985b1ac
  2. 16 3月, 2023 1 次提交
  3. 15 3月, 2023 1 次提交
  4. 14 3月, 2023 1 次提交
  5. 13 3月, 2023 1 次提交
    • S
      Fused softplus (#51087) · fdcfa04f
      Sławomir Siwek 提交于
      * mkldnn->onednn
      
      * fused softplus op + kernel
      
      * remove extra attributes
      
      * add missing handler
      
      * change var name
      fdcfa04f
  6. 10 3月, 2023 1 次提交
  7. 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
    • W
      [clear ps] del some all list (#51289) · aab713ea
      wangzhen38 提交于
      * [clear ps] del some all list
      
      * [clear ps] for ci
      
      * [clear ps] rm fluid emb
      aab713ea
  8. 08 3月, 2023 1 次提交
  9. 02 3月, 2023 1 次提交
  10. 28 2月, 2023 1 次提交
  11. 24 2月, 2023 1 次提交
  12. 23 2月, 2023 1 次提交
  13. 22 2月, 2023 2 次提交
  14. 21 2月, 2023 1 次提交
    • C
      [OpTest] support prim test in OpTest (#50509) · 457defe7
      Charles-hit 提交于
      * support prim test in OpTest
      
      * fix cmake
      
      * fix op test
      
      * fix test_input_spec
      
      * disable cinn in reduce_sum unit test
      
      * add bfloat16 dtype for sum
      
      * polish code
      
      * add clear jit program function
      
      * convert grad out from tensor to numpy
      
      * remove unnecessary code
      
      * add only_prim flag
      
      * fix flag
      
      * fix op test
      
      * fix optest comp inplace error
      
      * fix op test
      
      * fix op test with guard
      
      * add initialization of check_comp flag
      
      * fix comp inplace error in op test
      
      * rename check_comp with check_prim and add bfloat16 dtype convert
      
      * rename comp_op_type to prim_op_type
      
      * rename comp to prim
      
      * remove useless code
      
      * skip ci check for only prim
      
      * add no_grad_vars and grad_outputs in prim test
      
      * fix var_dict
      
      * fix op test for only_prim
      
      * fix dy2static bugs
      
      * polish some code
      457defe7
  15. 14 2月, 2023 1 次提交
  16. 09 2月, 2023 1 次提交
  17. 07 2月, 2023 1 次提交
    • T
      [Zero-Dim] support 0D Tensor for while_loop op (#49780) · be83e1ee
      TeFeng Chen 提交于
      * support 0D Tensor for while_loop op
      
      * update
      
      * clean unit test
      
      * revert test_while_loop_op.py
      
      * test again
      
      * remove invalid check
      
      * fix error
      
      * change fluid to paddle.static
      
      * fix paddle.full
      
      * merge forward and backward test
      
      * simplify code
      
      * add precision check
      
      * fix condition var check
      
      * add dygraph test
      be83e1ee
  18. 06 2月, 2023 5 次提交
  19. 02 2月, 2023 1 次提交
  20. 01 2月, 2023 3 次提交
    • Z
      remove fluid.initializer.UniformInitializer, ConstantInitializer,... · 6edc7bba
      zqw_1997 提交于
      remove fluid.initializer.UniformInitializer, ConstantInitializer, NormalInitializer, TruncatedNormalInitializer, XavierInitializer, BilinearInitializer, MSRAInitializer, NumpyArrayInitializer and calculate_gain.. (#49498)
      
      * move UniformInitializer and ConstantInitializer
      
      * more modify
      
      * circular import resolved
      
      * another circular import resolved?
      
      * more circular import 2
      
      * circular import 3
      
      * change import paddle in metric.py
      
      * BuildStrategy import from fluid
      
      * modify the framework import path in common.py
      
      * change rnn.py import, from static to original framework
      
      * change import static in the nn folder
      
      * default_main_program should import from common_ops_import
      
      * add import paddle in param_attr.py
      
      * use core not paddle module for using VarDesc
      
      * another old uniform
      
      * mistake that use Uniform instead of UniformInitializer
      
      * modify UniformInitializer doc
      
      * move fluid.NormalInitializer to nn.initializer.NormalInitializer
      
      * remove import of Normal in fluid.layers.nn.py
      
      * remove more import of old Normal
      
      * remove more import of old Normal
      
      * sample code modify and tests modify import
      
      * is_listen_failed passing arg should be log file
      
      * problem solved
      
      * a mistake solved
      
      * comments resoleved and remove paddle.fluid.initializer.TruncatedNormalInitializer
      
      * remove paddle.fluid.initializer.XavierInitializer and paddle.fluid.initializer.MSRAInitializer
      
      * remove paddle.fluid.initializer.BilinearInitializer NumpyArrayInitializer and set_global_initializer
      
      * change fluid to static
      
      * change static to fluid to avoid circular import in distributed_strategy.py
      
      * fix example code and test_initializer
      
      * ValueType
      
      * sample code fix
      
      * change set_global_initializer back to fluid
      
      * put paddle.static.BuildStrategy.ReduceStrategy into the fuction to avoid circular import
      
      * remove calculate_gain, delete BilinearInitializer and revert set_global_initializer
      
      * change the time of using UniformInitializer, ConstantInitializer, NormalInitializer, TruncatedNormalInitializer, XavierInitializer, MSRAInitializer, NumpyArrayInitializer as few as possible
      
      * fix argument incampatible
      
      * fix more arg incompatible
      
      * fix test_prelu_op_xpu.py Constant
      
      * fix inaccurate doc
      
      * more doc fix: default value
      6edc7bba
    • G
    • R
      Fix Python IndexError of case9: paddle.static.nn.deform_conv2d (#49990) · c62657b3
      RedContritio 提交于
      * add dimension check for deformable_conv
      
      * add unittest
      c62657b3
  21. 31 1月, 2023 2 次提交
  22. 30 1月, 2023 2 次提交
  23. 18 1月, 2023 1 次提交
  24. 17 1月, 2023 3 次提交
  25. 13 1月, 2023 1 次提交
  26. 12 1月, 2023 1 次提交
  27. 10 1月, 2023 2 次提交