1. 06 7月, 2023 1 次提交
    • Z
      add clip_grad_value_ api (#54603) · 88402cdb
      zqw_1997 提交于
      * add clip_grad_value_ api
      
      * add test for ClipGradByValue
      
      * typo fix
      
      * refine and modify clip_grad_norm_
      
      * no_grad
      
      * clip_
      
      * remove g=p.grad
      
      * bug: AssertionError: When Variable is used as the condition of if/while , Variable can only contain one element.
      88402cdb
  2. 01 6月, 2023 1 次提交
    • 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
  3. 01 2月, 2023 1 次提交
    • Z
      add clip_grad_norm_ API (#49935) · 0855d982
      zxcd 提交于
      * add clip_grad_norm_ api.
      
      * fix docs and some details according to the comments.
      
      * fix code style.
      
      * fix no_grad problem, and fix doc.
      
      * fix code style.
      
      * fix doc and remove type information
      0855d982