“382adb6d8f37c3ff855c8a325aa016329ce24c6f”上不存在“...inference/tests/git@gitcode.net:paddlepaddle/Paddle.git”
  • Q
    add gradient test framework (#3226) · e31a469e
    Qiao Longfei 提交于
    * init grad op checker
    
    * can run
    
    * add GradeChecker class
    
    * use get_numeric_gradient
    
    * refine code
    
    * add softmax and cross entropy auto grad test
    
    * use close to judge op_grad and numeric_grad
    
    * add cpu and gpu compare
    
    * add comments
    
    * add support_gpu
    
    * fix allclose
    
    * fix name error and symplify code
    
    * optimize gradient checker
    
    * add test_cross_entropy_op
    
    * update gradient_checker.py
    
    * optimize code
    
    * use random.uniform instead of random.random
    
    * fix type bug
    
    * optimize check_grad
    
    * put SupportGPU into OperatorBase
    
    * typo
    e31a469e
op_test_util.py 2.7 KB