• J
    [FIX] Extend time for test_activation_nn_grad to avoid its timeout issue (#36527) · c285c719
    Jiabin Yang 提交于
    * native commit for triple grad of sigmod
    
    * Updated unittests files
    
    * init functional jacobian api
    
    * Updated trible_test func
    
    * Updated gradient_checker & test_script
    
    * finish test with dtype float32
    
    * add float64 test case
    
    * polish code
    
    * use atol=1e-5 with dtype float64
    
    * fix for ci
    
    * set timeout for test_jacobian
    
    * fix dygraph grad to support high differential
    
    * polish API docstring
    
    * Updated gradient checker and some related files
    
    * fix double grad strip error for high differential
    
    * fix double grad strip error for high differential
    
    * Add Sigmoid triple grad tests
    
    * fix dygraph double grad dtype error when calling for high differential senario
    
    * Updated triple grad teses func
    
    * Use np.random to initialize ddx
    
    * Updated triple_grad_check func
    
    * add todo for gradient checker and refine some comments
    
    * remove additional code
    
    * add test for warnging in backward.py
    
    * add tanh triple grad
    
    * format python code
    
    * refine code
    
    * make test_activation_nn_grad test time to 150s
    Co-authored-by: Nveyron95 <veyron_wu@163.com>
    Co-authored-by: Nlevi131 <limaolin01@baidu.com>
    c285c719
CMakeLists.txt 58.5 KB