[PTen] Unify InferMeta(Shape) Function in pten and fluid op (#38976)
* 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>
Showing
想要评论请 注册 或 登录