1. 15 4月, 2022 3 次提交
  2. 14 4月, 2022 5 次提交
    • C
      [CustomOp]Add new method for custom double grad (#41538) (#41781) · 76d5483a
      Chen Weihang 提交于
      * add new method for custom double grad
      
      * add tanh double grad unittest
      
      * change year
      
      * revert tensor init method
      76d5483a
    • C
      [CustomOp] Add context pool unittests (#41085) (#41782) · 5450e42c
      Chen Weihang 提交于
      * add context pool unittests
      
      * fix timeout
      
      * polish details
      
      * change option pos
      
      * add dll decl for wndows
      
      * fix pre-commit error
      
      * move dll_decl and export DeviceContext
      
      * replace lost dll_decl.h
      5450e42c
    • C
      Cherry pick final state ops (#41755) · 921a6fb7
      chentianyu03 提交于
      * [Yaml]add exp yaml (#41217)
      
      * add exp yaml
      
      * add exp api in test case
      
      * add determinant yaml
      
      * fix exp op unittest
      
      * change test class name
      
      * modify api name
      
      * compacted with raw api
      
      * fix det api
      
      * add python_api
      
      * add test eager for determinant op
      
      * [Yaml] Add assign yaml (#41428)
      
      * add assign yaml
      
      * add assign api
      
      * add assign backward api
      
      * add assign
      
      * add assign yaml
      
      * add assign
      
      * assign yaml
      
      * add assign raw kernel and use assign_raw in yaml
      
      * merge develop branch
      
      * add missing python_api
      
      * exchange assign and assign_raw kernel name (#41625)
      
      * exchange assign and assign_raw kernel name
      
      * fix register error
      
      * [Yaml]add gaussian_random yaml and test case (#41312)
      
      * add guassian random yaml
      
      * add gaussian_random yaml and test case
      
      * fix error modify of full yaml
      
      * import in_dygraph_mode
      
      * import _in_legacy_dygraph
      
      * add place arg in api
      
      * import __current_expected_place
      
      * fix test_egr_python_api failed case
      
      * add test case
      
      * add cast for NormalInitializer
      
      * fix test error
      
      * fix test error
      
      * rm unsed check code
      
      * fix test error in test_initializer_nn
      
      * modify by review
      
      * [Phi]fix split error when sections has 0 size and add test case (#41708)
      
      * fix split error when sections has 0 size and add test case
      
      * fix test case
      921a6fb7
    • X
    • R
      [Cherry pick] Add some final state OPs (#41737) · 33583dde
      Ruibiao Chen 提交于
      * Add yaml for matrix rank op (#41466)
      
      * modify matrix_rank
      
      * add matrix_rank shape
      
      * add matrix_rank shape
      
      * Add yaml for matrix_rank OP
      
      * Add UT
      Co-authored-by: Nzhoujianqian <15205085056@163.com>
      
      * Add yaml for eye OP (#41476)
      
      * [cherry-pick] Add yaml config for matrix_rank, eye, deformable_conv and
      deformable_conv_v1 OPs
      * Add yaml for deformable_conv and deformable_conv_v1 OPs
      
      * Add UT
      
      * Add to skipped_phi_api list for infrt
      Co-authored-by: Nzhoujianqian <15205085056@163.com>
      33583dde
  3. 13 4月, 2022 3 次提交
  4. 12 4月, 2022 5 次提交
  5. 11 4月, 2022 10 次提交
  6. 08 4月, 2022 1 次提交
    • 0
      [Cherry-Pick]Cherry pick PR41200, PR41474, PR41382 (#41509) · ae34db36
      0x45f 提交于
      * Use `self`as a parameter of _hash_with_id function to avoid error caused by hash_id reuse (#41200)
      
      * Add fill_constant_batch_size YAML and UT (#41474)
      
      * Switch some dy2st UT to eager mode (#41382)
      
      * Sitch some dy2st UT to eager mode
      
      * Fix test_lstm and remove test_transformer
      
      * Run test_resnet_v2 in old dy mode
      ae34db36
  7. 07 4月, 2022 2 次提交
  8. 06 4月, 2022 8 次提交
    • A
      [IPU] add more ipu UTs (#41176) · 5b85f3dc
      Allen Guo 提交于
      * add ipu uts
      
      * fix ut
      
      * split PR
      
      * fix ut
      
      * rm ut
      5b85f3dc
    • L
      support group with one rank (#41398) · e9e68c36
      lilong12 提交于
      e9e68c36
    • T
      add matmul & adamw unittest test=kunlun (#41186) · 814315b4
      taixiurong 提交于
      814315b4
    • W
      [Eager] Support test_layers's test cases switch to eager mode (#41216) · 5ae8babb
      Weilong Wu 提交于
      * [Eager] Support test_layers's test cases switch to eager mode
      
      * Update batch_norm _C_ops action to fix CI
      
      * Use None instead of new EmptyTensor
      
      * Updated var name
      
      * Make sure to switch eager mode, Fix Coverage_CI
      
      * Remove _non_static_mode statement
      
      * Remove batch_norm dispensable input statement
      
      * Polish batch_norm code
      
      * Fix CI issue
      5ae8babb
    • L
      【PaddlePaddle Hackathon 2】8、为 Paddle 新增 nanmean API (#40472) · 1d43e2da
      Li-fAngyU 提交于
      * Update __init__.py
      
      * Update math.py
      
      * Create test_nanmean_api.py
      
      * Update __init__.py
      
      * Update __init__.py
      
      * Update math.py
      
      * Update test_nanmean_api.py
      
      * Update __init__.py
      
      * Update math.py
      
      * Update test_nanmean_api.py
      
      * Update test_nanmean_api.py
      
      * Update test_nanmean_api.py
      
      * Update math.py
      
      * Update test_nanmean_api.py
      
      * Update math.py
      
      Update the nanmean example code
      
      * Update math.py
      
      * Update math.py
      
      * Update math.py
      
      Remove redundant code in nanmean
      
      * Update math.py
      
      change default keepdim = False
      
      * Update test_nanmean_api.py
      
      add nan into self.x
      
      * Update test_nanmean_api.py
      
      rerun CI check
      
      * Update test_nanmean_api.py
      
      * update code of nanmean in python/paddle/tensor/math.py and test_nanmean_api.py
      
      * Update test_nanmean_api.py
      
      update code format
      
      * Update test_nanmean_api.py
      
      update code format
      
      * Update test_nanmean_api.py
      
      add check grad code.
      
      * Update math.py
      
      update nanmean's describe of Args x
      
      * Update test_nanmean_api.py
      
      update format and release the test_case(self.x, keepdim=True) in check grad code.
      
      * Update test_nanmean_api.py
      
      Update gradient checking method
      
      * Update test_nanmean_api.py
      
      update code format
      
      * Update test_nanmean_api.py 
      
      Update code format and copyright in test_nanmean_api.py
      
      * Update math.py
      
      update arguments describe and code example
      
      * Update math.py
      
      修改了nanmean的axis参数的文档描述。
      
      * Update math.py
      
      updata nanmean's sample code (:name: code-example1)
      
      * Update math.py
      
      修改nanmean的example code 错误
      
      * Update math.py
      
      update example code
      
      * Update math.py
      
      update example code of nanmean
      1d43e2da
    • Z
      Add some op yaml (#41173) · 176df91c
      zyfncg 提交于
      * add real and imag yaml
      
      * add roi_align and roi_pool yaml
      
      * add qr yaml
      
      * add psroi_pool yaml
      
      * fix bug
      
      * fix param bug of psroi_pool
      
      * fix infrt problem
      
      * fix merge bug
      176df91c
    • H
      Add conv yaml (#41354) · 7ed7c6c7
      hong 提交于
      * update
      
      * add conv yaml
      
      * add backward
      
      * remove useless code
      
      * fix bug
      
      * fix bug
      
      * revert fluid dygraph conv2d
      
      * remove useless infermeta function
      
      * fix meta fn deluplicat error
      
      * conv using custom impl
      
      * remove amp include
      
      * fix bug
      
      * use cudnn = true
      
      * fix test mkldnn caching bug
      7ed7c6c7
    • W
      fix split and concat out (#41419) · a057df50
      wanghuancoder 提交于
      a057df50
  9. 05 4月, 2022 3 次提交
    • Y
      [Phi]Add mean/momentum yaml (#41319) · fac7fd42
      YuanRisheng 提交于
      * move yaml
      
      * add momentum yaml
      
      * delete code
      
      * delete some code
      
      * add meshgrid backward
      
      * delete code
      
      * fix compile bugs
      fac7fd42
    • W
      add fake index and unittest for multiclass_nms3 trt (#41344) · 1bd8125f
      wangxinxin08 提交于
      * add fake index and unittest for multiclass_nms3 trt
      
      * modify unittest
      1bd8125f
    • Z
      [DoubleGrad PR #8] Enabled triple grads for sigmoid and matmul (#41387) · d8a10977
      Zhanlue Yang 提交于
      * [Refactor] refactored eager_gen.py PR #2
      
      * [DoubleGrad PR #1] Decoupled code generation logics for Dygraph ForwardFunctions and GradNodes
      
      * Fixed minor issue
      
      * Adjusted logics of GenerateNodeCreationCodes and GenerateForwardDefinition
      
      * Fixed issues
      
      * Supported higher-order grad node generation
      
      * [DoubleGrad PR #4] Supported higher-order GradNode generation
      
      * [DoubleGrad #4] Bug Fixes to Double Grad Node Generation
      
      * Fixed yaml typo
      
      * Fixed yaml typo
      
      * fixed minor issues
      
      * [DoubleGrad PR #5] Enabled gradient computations for grad_tensors passed to paddle.grad()
      
      * Fixed minor issue
      
      * Fixed CI-Inference issue
      
      * Fixed CI-inference issues
      
      * [DoubleGrad PR #7] paddle.grad() to copy backward graph before backward run
      
      * Fixed minor issues
      
      * Fixed issue with backward graph construction logic
      
      * Fixed implementation issues with backward graph reconstruction
      
      * Fixed unittest issue
      
      * Fixed issues
      
      * [DoubleGrad PR #8] Enabled triple grads for sigmoid and matmul
      
      * Fixed issues with phi kernel
      
      * Added triple grad test case
      
      * Fixed minor issue
      d8a10977