1. 06 2月, 2023 1 次提交
  2. 04 2月, 2023 1 次提交
    • H
      优化 PartialProgramLayer hash逻辑 (#49752) · 3e5a6df4
      hjyp 提交于
      * 优化 PartialProgramLayer hash逻辑
      
      * 修复list弱引用问题
      
      * 递归计算list列表的id
      
      * 处理str类型
      
      * str类型直接返回hash后的值
      3e5a6df4
  3. 03 2月, 2023 17 次提交
  4. 02 2月, 2023 12 次提交
  5. 01 2月, 2023 9 次提交
    • 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
    • Y
      2b848aef
    • R
      Fix UFA非法地址访问(UFA illegal address access) of case3: paddle.crop (#49994) · 34bf3d09
      RedContritio 提交于
      * add range check for crop_kernel
      
      * remove shape negative check
      
      * add unittest
      34bf3d09
    • R
      Fix Python IndexError of case2-3 (#49986) · fd5b8eea
      RedContritio 提交于
      * add shape check for fused_multi_head_attention
      
      * use raise for coverage test
      
      * add unittest
      
      * remove unnecessary pass
      
      * add unittest
      fd5b8eea
    • R
      Fix 空指针 (Null pointer) of case8: paddle.slice (#49979) · 3cf50f91
      RedContritio 提交于
      * add check for input of slice
      
      * add unittest
      3cf50f91
    • R
      Fix div 0 error of case11: paddle.nn.functional.max_pool1d/max_pool2d/max_pool3d (#50010) · 3ab6faa8
      RedContritio 提交于
      * add stride check for MaxPool
      
      * add unittests
      3ab6faa8
    • Z
      [Zero-Dim] Fix 0-dim tensor for arg_min_max op. (#49570) · e4e94a88
      Zhong Hui 提交于
      * fix 0-d tensor for arg_min_max op.
      
      * fix xpu.
      
      * fix zero dims
      
      * fix
      
      * Update arg_min_max_kernel.cc
      
      * Update arg_min_max_kernel.cc
      
      * Update arg_min_max_kernel.cc
      
      * Update test_zero_dim_tensor.py
      
      * Update test_zero_dim_tensor_xpu.py
      
      * Update test_zero_dim_tensor.py
      
      * Update arg_min_max_kernel.cc
      
      * Update arg_min_max_kernel.cc
      
      * Update arg_min_max_kernel.cc
      e4e94a88
    • P
      [Numpy]Fix NumpyScaler2Tensor dtype error (#50018) · 6f0ae156
      PuQing 提交于
      * fix numpyScaler2Tensor type error
      
      * fix to_tensor docs, test=document_fix
      6f0ae156
    • G