1. 18 8月, 2022 2 次提交
  2. 12 8月, 2022 1 次提交
    • J
      [Eager] Support more final_state code (#44986) · cf17ae8a
      Jiabin Yang 提交于
      * support more final_state code
      
      * support more final_state code
      
      * fix api error
      
      * fix norm error
      
      * fix pool3d error
      
      * revert pool3d and max_pool_3d_adaptive
      
      * fix code check error
      
      * fix norm problem
      cf17ae8a
  3. 11 8月, 2022 1 次提交
  4. 10 8月, 2022 1 次提交
  5. 08 8月, 2022 1 次提交
    • ReganYue's avatar
      【Fix en docs】 Fix document formatting*test=document_fix (#43996) · 8537edaa
      ReganYue 提交于
      * Update creation.py
      
      修复Returns格式问题
      
      * 【Fix en docs】 Fix document formatting
      
      修复Returns和Return Type格式问题。
      
      * 修复格式,解决中英文文档不一致问题
      
      为了解决中英文不一致的问题,统一将Returns内容第一个标点符号改成逗号。删掉Return Type
      
      * fix大量 与 Return Type 和 Return相关的文档
      
      * Convert Variable and LoDTensor to Tensor
      
      * Update python/paddle/nn/functional/common.py
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      
      * Update detection.py
      
      * Update io.py
      
      * Update io.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update io.py
      
      * Update io.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update nets.py
      
      * Update reader.py
      
      * Update nn.py
      
      * Update io.py
      
      * Update nn.py
      
      * Update io.py
      
      * remove Return Type to Returns
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update common.py
      
      * Update common.py
      
      * Update extension.py
      
      * Update creation.py
      
      * update*test=document_fix
      
      * Update io.py
      
      * Update manipulation.py
      
      * Update sequence_lod.py
      
      * Update common.py
      
      * Update common.py
      
      * Update common.py
      
      * Update common.py
      
      * update*test=document_fix
      
      * update*test=document_fix
      
      * Update loss.py
      
      * Update loss.py
      
      * update*test=document_fix
      
      * paddle.crop
      
      * for ci;test=document_fix
      
      * update io;test=document_fix
      
      * Update io.py
      
      * update sequence_expand docs;test=document_fix
      
      * update note typos;test=document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      8537edaa
  6. 03 8月, 2022 3 次提交
    • F
      [ Dy2Static ] Fix dy2staic: cpu, cuda, assign([Var, Var, ]) (#44731) · 96c6dde1
      feifei-111 提交于
      * fix dy2staic: cpu, cuda, assign([Var, Var, ])
      
      * fix1
      
      * fix2
      Co-authored-by: Nxiongkun <xiongkun03@baidu.com>
      96c6dde1
    • W
      [BUG FIX]fix auc calculation error under multi instag scene (#41289) · ef945c81
      wangzhen38 提交于
      * fix_auc in instag task
      
      * fix_auc in instag task
      
      * fix_auc in instag task
      
      * fix opmaker error
      
      * optmize default value of ins_tag
      
      * fix multiary
      
      * fix multiary
      
      * reback ctr_metric_bundle
      
      * reback ctr_metric_bundle
      
      * for ci auc_test
      
      * code style
      
      * code style fix
      
      * suit paddle
      
      * suit paddle
      
      * update code example
      
      * complete Auc unittest
      
      * set asdispensable
      
      * set optional
      
      * compatable and code style
      
      * fix cu
      
      * fix cu
      
      * for ci win
      
      * update unittests of auc
      
      * update code doc by reviews
      
      * change code doc by reviews
      ef945c81
    • Z
      Phi matrixnums (#44437) · 02414aac
      zhiboniu 提交于
      * phi_matrix_nms
      
      * remove old kernels and add optest check_eager
      
      * reoder args
      
      * reoder args in infermate
      
      * update
      
      * get back legacy dygraph
      02414aac
  7. 01 8月, 2022 1 次提交
    • T
      [operator migration] Migrate unstack_op and nms_op (#44424) · 9d2e0ecb
      Thomas Young 提交于
      * update unstack_op
      
      * update unstack_op
      
      * update unstack_op
      
      * fix unstack test
      
      * update unstack
      
      * update with remote
      
      * fix unstack_test.py
      
      * temp_save_change_nms_op
      
      * add nms test
      
      * update nms fix
      
      * update unstack_op
      
      * temp save change
      
      * finish fix nms_op
      
      * pass nms test
      
      * fix CI
      
      * fix ops test
      
      * save change
      
      * fix code style
      
      * fix code style
      
      * fix ci and codestyle
      
      * fix ci
      Co-authored-by: NShiningZhang <zhang_liang1991@126.com>
      9d2e0ecb
  8. 30 7月, 2022 1 次提交
  9. 29 7月, 2022 2 次提交
    • W
      Phi softplus migration (#44542) · 05515662
      Wang Bojun 提交于
      * add yaml and utests of phi softplus
      
      add yaml of softplus
      
      fix softplus bug in phi
      
      * update utests
      
      * bug fix
      
      * bug fix for test_layers
      
      * layer api match
      
      * match def and doc in ops.py
      
      * doc polish
      
      * fix unwanted modified of thresholded_relu
      
      * style imporve
      05515662
    • Y
      [Phi] Add yaml for assign_value (#44596) · 88584396
      Yulong Ao 提交于
      * [Phi] Add yaml for assign_value
      
      * [Phi] Fix the bug of the assign api and modify the unittest
      
      * [Phi] Fix the bug when the tensor does not have the backend info
      
      * [Phi] Replace the functional-style cast init by the brace-init
      
      * [Phi] Cast the data explicitly
      88584396
  10. 28 7月, 2022 1 次提交
    • C
      Move api(lgamma) from legacy_api.yaml to api.yaml (#44355) · 511a2c1c
      Charles-hit 提交于
      * Move api(lgamma) from legacy_api.yaml to api.yaml
      
      * Move api(lgamma) from legacy_api.yaml to api.yaml
      
      * Move api(lgamma) from legacy_api.yaml to api.yaml
      
      * modify code style
      
      * add x to X mapping
      
      * add definition of lgamma
      
      * delete redundant lgamma definitions
      
      * Modify code comments
      
      * Modify ops.py code format
      
      * add lgamma  single test and lgamma api in fluid
      
      * Optimized lgamma unittest
      511a2c1c
  11. 26 7月, 2022 3 次提交
  12. 20 7月, 2022 1 次提交
  13. 19 7月, 2022 2 次提交
  14. 12 7月, 2022 1 次提交
    • X
      [ Dy2Static ]Change NameVisitor in while to FunctionScopeAnalysis (#44155) · c5c6026e
      xiongkun 提交于
      * change NameVisitor to FunctionScopeAnalysis
      
      * polish the logic of undefined var in while_loop. create vars after body execution
      
      * replace old NameVisitor in while and fix all CI
      
      * Togather with CreateVariableTransformer
      
      * add create_variable_transformer
      
      * fix bugs
      
      * merge
      
      * fix some error, TODO: ForNodePreTransform ahead
      
      * merge for unite PR
      
      * fix conflict with base_transformer PR
      
      * fix ci errors, fix [for i in range()] error
      
      * fix according to code review
      c5c6026e
  15. 11 7月, 2022 1 次提交
  16. 07 7月, 2022 1 次提交
    • A
      [IPU] support dy2static for IPU merge code (#43770) · 6984fbca
      Allen Guo 提交于
      * feat(): dynamic_to_static support for ipu.
      
      * fix(): format fix.
      
      * fix format
      
      * fix cpplint error
      
      * use phi::errors
      
      * fix format
      
      * fix format
      
      * fix(): add api to restore patched function.
      
      * fix(): identity_loss uses cpu place as expected kernel type.
      
      * doc(): add IPU dy2static related docs.
      
      * fix(): combine test cases.
      
      * fix format
      
      * fix comment
      
      * fix format
      
      * apply comment
      
      * fix compiling
      
      * fix(): align docs.
      
      * fix(): fix identity_loss function docs.
      
      * fix(): adjust mean and sum in identity_loss.
      
      * fix(): minor docs.
      
      * move API to paddle.incubate.identity_loss
      
      * fix UT
      Co-authored-by: Nzhaorui chen <zhaoruic@graphcore.ai>
      6984fbca
  17. 06 7月, 2022 1 次提交
    • X
      [Dy2static] FunctionScopeVisitor Enhance and substitute the original NameVisitor in If (#43967) · b603dd55
      xiongkun 提交于
      * add support for control flow block analysis
      
      * move FunctionNameLivenessAnalysis into utils
      
      * pass test_ifelse.py
      
      * remove duplicate data_layer_not_check
      
      * pass the test_ifelse.py
      
      * fix unittest error .
      
      * fix all ci error in first version
      
      * temporay disable CreateVariableTransformer
      
      * fix ci errors
      
      * fix function name liveness analysis bugs
      
      * modifty def cond
      
      * fix
      
      * fix ci error - v2
      
      * fix by code review
      
      * change return_name_ids -> return_name
      b603dd55
  18. 05 7月, 2022 1 次提交
  19. 14 6月, 2022 1 次提交
    • Z
      Fix numpy 1.20+ deprecation warnings (#42929) · 90cf2299
      zlsh80826 提交于
      * Replace np.bool/np.bool8 with np.bool_
      
      * Replace np.object with np.object_
      
      * Replace np.complex with np.complex128
      
      * Replace np.float with np.float64
      
      * Replace np.int with np.int_
      
      * Rerun pre-commit for newer pre-commit configuration
      
      * Use builtin bool instead of np.bool_ based on the context
      90cf2299
  20. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  21. 01 6月, 2022 1 次提交
  22. 31 5月, 2022 1 次提交
  23. 20 5月, 2022 1 次提交
  24. 18 5月, 2022 1 次提交
  25. 16 5月, 2022 1 次提交
    • Z
      [PHI] Support construct IntArray by using Non-CPU Tensosr (#41764) · 8eecd852
      zyfncg 提交于
      * support construct scalar using non-cpu tensor
      
      * fix bugs when run unittest
      
      * fix compile bugs
      
      * fix bugs when run ci
      
      * fix compile bugs
      
      * fix bugs when move copy
      
      * perfect unit test
      
      * perfect unittest
      
      * update according to comment
      
      * int_array supports constructed by gpu tensor
      
      * add some test
      
      * polish code
      
      * adjust full api
      
      * add unittest
      
      * add unittest
      Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com>
      8eecd852
  26. 13 5月, 2022 1 次提交
  27. 12 5月, 2022 1 次提交
  28. 28 4月, 2022 1 次提交
  29. 27 4月, 2022 1 次提交
  30. 26 4月, 2022 1 次提交
  31. 25 4月, 2022 1 次提交
    • Y
      fix en docs of some Apis (gradients, scope_guard, cuda_places, name_scope,... · 6dd9dd39
      Yilingyelu 提交于
      fix en docs of some Apis (gradients, scope_guard, cuda_places, name_scope, device_guard, load_program_state, scale, ParamAttr and WeightNormParamAttr) (#41604)
      
      * Update scope_guard; test=document_fix
      
      * gradients; test=document_fix
      
      * gradients; test=document_fix
      
      * name_scope; test=document_fix
      
      * cpu_places; test=document_fix
      
      * WeightNormParamAttr; test=document_fix
      
      * cuda_places; test=document_fix
      
      * load_program_state; test=document_fix
      
      * device_guard; test=document_fix
      
      * device_guard; test=document_fix
      
      * ParamAttr; test=document_fix
      
      * scale; test=document_fix
      
      * scale; test=document_fix
      
      * update code example;test=document_fix
      Co-authored-by: NChen Long <1300851984@qq.com>
      6dd9dd39
  32. 18 4月, 2022 1 次提交
  33. 15 4月, 2022 1 次提交