• G
    【inplace api】Batch add inplace api gt_, ge_, lt_, le_, eq_, not_equal_,... · c5fc413a
    GGBond8488 提交于
    【inplace api】Batch add inplace api gt_, ge_, lt_, le_, eq_, not_equal_, logical_and_, logical_or_, logical_xor_, logical_not_, divide_, floor_divide_, bitwise_and_ , bitwise_or_, bitwise_xor_, bitwise_not_ (#55509)
    
    * tmp commit
    
    * add atan2
    
    * add inplace api
    
    * fix error
    
    * add inpalce divide
    
    * add inplace api
    
    * add more inplace
    
    * add more inpalce
    
    * fix logical_not error
    
    * support sinh and cosh in cpu
    
    * support asin, acos, atan, asinh, acosh, atanh in cpu
    
    * fix typro
    
    * fix typro
    
    * mv out atan2 ldexp
    
    * mv out atan2 ldexp
    
    * support sinh and cosh in gpu
    
    * support asin, acos, atan, asinh, acosh, atanh in gpu
    
    * fix ge error
    
    * fix dygraph commpare error
    
    * fix dygraph commpare error
    
    * check complex in python
    
    * fix cast inpalce error
    
    * open inplace test
    
    * fix ops.yaml error
    
    * mv cast inpalce to python
    
    * fix coverage ci
    
    * add last inplace
    
    * fix inplace error
    
    * fix cast error
    
    * fix error
    
    * add nan_to_num_
    
    * fix typro
    
    * fix sparse cast error
    
    * remove gpu 4
    
    * fix static cast error
    
    * tmp commit
    
    * add atan2
    
    * add inplace api
    
    * fix error
    
    * add inpalce divide
    
    * add inplace api
    
    * add more inplace
    
    * add more inpalce
    
    * fix logical_not error
    
    * fix typro
    
    * fix typro
    
    * mv out atan2 ldexp
    
    * mv out atan2 ldexp
    
    * fix ge error
    
    * fix dygraph commpare error
    
    * fix dygraph commpare error
    
    * fix cast inpalce error
    
    * open inplace test
    
    * fix ops.yaml error
    
    * mv cast inpalce to python
    
    * fix coverage ci
    
    * add last inplace
    
    * fix inplace error
    
    * fix cast error
    
    * fix error
    
    * add nan_to_num_
    
    * fix typro
    
    * fix sparse cast error
    
    * remove gpu 4
    
    * fix static cast error
    
    * fix cast error
    
    * fix
    
    * Revert "check complex in python"
    
    This reverts commit c822064261d774dd58ad46a4f90ba8b467700a05.
    
    * add renorm , fix error
    
    * add coverage
    
    * fix cumsum inpalce version error
    
    * add cast inpalce impl
    
    * rm test.log
    
    * fix multiply_dyfunction and add multiply_backward test
    
    * add and use is_same_tensor
    
    * fix typro
    
    * fix sone error
    
    * fix typro
    
    ---------
    Co-authored-by: NScotty <jmhgchn@gmail.com>
    Co-authored-by: NScotty <527407973@qq.com>
    c5fc413a
test_inplace.py 45.5 KB