• C
    [PTen] Unify InferMeta(Shape) Function in pten and fluid op (#38976) · b75507d3
    Chen Weihang 提交于
    * infermeta context init design
    
    * support infermeta called in fluid op
    
    * add hasattr and attr methods
    
    * add dygraah GetVarPtrs support
    
    * rename arg_map_context to arg_map_utils
    
    * add registry for arg map func
    
    * resolve conflit
    
    * refactor op utils design
    
    * polish meta config
    
    * fix details
    
    * remove hasattr method
    
    * resolve conflit
    
    * revert cmake order change
    
    * revert some change
    
    * change init pos
    
    * fix compile faileed
    
    * fix typo
    
    * fix inference failed
    
    * fix windows ccompile failed
    
    * polish format
    Co-authored-by: NWang Huan <wanghuan29@baidu.com>
    b75507d3
CMakeLists.txt 24.2 KB