• J
    Support test imperative basic with fixed retain grad interface (#38548) · 2421a25a
    Jiabin Yang 提交于
    * Rearranged Eager AutoCodeGen directory structure
    
    * Removed USE_OP in Eager AutoCodeGen
    
    * Enabled generation for Operators without Grad/Inputs/Outputs
    
    * Resolved operators without input
    
    * Fixed merge conflicts
    
    * Enabled Eager AutoCodeGen for 10+ more operators
    
    * Refactored Eager AutoCodeGen with more organized helper objects
    
    * Enabled Eager AutoCodeGen for operators with multiple OpBases
    
    * Adjusted Eager AutoCodeGen to Enable Passing Output Tensor as Input Argument
    
    * Handled Dispensable Inputs/Outputs in Eager AutoCodeGen
    
    * Adjusted function generation/call between Python-C API & Dygraph API
    
    * Synchronized auto-generated Python-C API with Dygraph Forward Functions
    
    * support more eager tensor api
    
    * fix merge compile error
    
    * fix compile error and fit develop code
    
    * support pure CPU
    
    * fix some logic error in eager_mode
    
    * support _varbase_creator in eager mode
    
    * Added safe_initialized interface to EagerTensor for use in processing dispensable inputs
    
    * for eager mode
    
    * refine
    
    * support multiple constructor for eager tensor
    
    * add place related code
    
    * polish code
    
    * specific randint with dtype of int64
    
    * Support pure cpu test
    
    * eager logic
    
    * refine test in pure cpu
    
    * eager logic
    
    * eager logic
    
    * eager logic, test=develop
    
    * skip core.eager when in inference, test=develop
    
    * refine, test=develop
    
    * refine, test=develop
    
    * call RetainGrad after run forward kernel, test=develop
    
    * refine, test=develop
    
    * support dygraph util, meta, guard test
    
    * support inference test
    
    * refine test and fix initializer failed
    
    * support create varbase and fix retain grad error
    
    * fix windows error
    
    * support test_imperative_basic test in eager mode
    
    * remove additional log in variable.h
    
    * remove additional log in variable.h
    
    * remove additional code create in merge
    Co-authored-by: Njim19930609 <jim19930609@gmail.com>
    Co-authored-by: NWang Huan <wanghuan29@baidu.com>
    2421a25a
test_egr_python_api.py 21.9 KB