• W
    Support EagerTensor initialization with kwargs (#38488) · 4ba6d4e4
    Weilong Wu 提交于
    * Support EagerTensor init with kwargs
    
    * Updated comments
    
    * Updated unit tests case
    
    * Refactor InitTensor related code to reduce duplicate code
    
    * Updated the error reporting msg
    
    * Updated VLOG msg
    
    * Merge develop and Update EagerTensor init func
    
    * Polish switch case, reduce some code
    
    * Add SyntaxError unit test case
    
    * Refactor the related initialization func of EagerTensor
    
    * Remove ParseStopGradient and ParseZeroCopy and ParsePersistable, construct ParseBooleanArgs instead.
    
    * Updated error msg to pass CI
    
    * Updated PADDLE_ENFORCE error type
    4ba6d4e4
eager.cc 34.1 KB