• C
    [Cherry-pick] Complex network execute support (#29905) · 91ebc460
    Chen Weihang 提交于
    * [Complex] Add support for complex grad accumulated (#29889)
    
    * add support for complex grad accumulated
    
    * add unittest for coverage
    
    * update test dtype
    
    * remove useless blank line
    
    * [Complex] Handle complex to real after type promotion (#29855)
    
    * try to add fwd op input dtypes
    
    * refactor base impl
    
    * return tmp_ins after dygraph prepare data
    
    * fix typo found in debug
    
    * polish comment & add complex net test
    
    * revert detail change
    
    * fix unittest failed
    
    * add complex kernel condition control
    
    * fix xpu test failed & polish comment
    
    * polish details by review comments
    
    * Complex op test (#29753)
    
    * delete no need to calculate inputs in dygraph op_test
    
    * delete no need to calculate inputs in dygraph op_test
    
    * change grad elementwise_mul for complex types (#29757)
    
    * add conj op for complex types
    
    * add conj for complex types
    
    * add more test case
    
    * add conj_op test
    
    * modify conj api and impl
    
    * add complex type for fill_constant_op xpu
    
    * add setConstant for complex type
    
    * remove complex conj test file
    
    * user define grad for test_conj_op
    
    * add test case for static mode of conj api
    
    * modify conj doc
    
    * change input args name to x
    
    * remove useless codes
    
    * conj support real types
    
    * add conj test case for real number
    
    * delete no need to calculate inputs in dygraph op_test
    
    * delete no need to calculate inputs in dygraph op_test
    
    * modify grad of mul for complex types
    
    * fix the grads of inputs args order not match bug
    
    * change the grad of div when complex types (#29804)
    
    * change the grad of div when complex types
    
    * fix the grads of inputs args order not match bug
    Co-authored-by: Nchentianyu03 <chentianyu03@baidu.com>
    91ebc460
variable_wrapper.h 10.7 KB