• J
    Support custom op and paddle.autograd.bacward in eager (#40423) · 227fa408
    Jiabin Yang 提交于
    * eager, test=develop
    
    * fix bug, test=develop
    
    * eager, test=develop
    
    * merge legacy to fluid
    
    * eager, test=develop
    
    * eager, test=develop
    
    * Refactor TensorAdd func by template and remove gradient_accumulation in eager
    
    * Remove needless target name
    
    * eager, test=develop
    
    * eager, test=develop
    
    * Use overload instead of template
    
    * Remove legacy code
    
    * Remove legacy code
    
    * selectedrows, test=develop
    
    * Remove DataType test
    
    * eager, test=develop
    
    * eager, test=develop
    
    * support gan, test=develop
    
    * Using Tensor directly instead of using EagerTensor
    
    * support gradient_accumulation
    
    * make test_imperative_lod_tensor_to_selected_rows longer
    
    * make test_imperative_lod_tensor_to_selected_rows longer
    
    * refine code
    
    * ptb, test=develop
    
    * Rename all EagerTensor to Tensor
    
    * Rename some EagerTensor to Tensor
    
    * rename EagerTensor to EagerVariable
    
    * eager, test=develop
    
    * eager, test=develop
    
    * eager, test=develop
    
    * eager, test=develop
    
    * add more test
    
    * eager, test=develop
    
    * Support copiable selected rows and merge develop
    
    * save load, eager, test=develop
    
    * save load, eager, test=develop
    
    * refine, test=develop
    
    * remove useless _set_value method
    
    * refine, test=develop
    
    * refine, test=develop
    
    * revert static_runner, test=develop
    
    * EagerTensor to Tensor, test=develop
    
    * refine, test=develop
    
    * refine, test=develop
    
    * clear grad, test=develop
    
    * merge, develop
    
    * merge, develop
    
    * merge, test=develop
    
    * merge, test=develop
    
    * Support quant and part of slice
    
    * support legacy static save
    
    * extend slim tests time
    
    * remove imperative on inference
    
    * remove imperative on inference
    
    * merge develop
    
    * fix typo
    
    * fix typo
    
    * split slice related code into 2 part for imperative and eager
    
    * split slice from inference
    
    * split slice from inference
    
    * fix test_tensor_register_hook
    
    * support custom op in eager mode
    
    * fix inference deps error
    
    * split eager utils from custom operator
    
    * fix type match
    
    * fix typo
    Co-authored-by: NWang Huan <wanghuan29@baidu.com>
    Co-authored-by: NWeilong Wu <veyron_wu@163.com>
    Co-authored-by: Nwanghuancoder <wanghuancoder@163.com>
    227fa408
backward_mode.py 4.7 KB