[InferMeta] add compile-time infermeta logic for stack infermeta. (#45528)
* add compile-time infermeta logic for stack infermeta. * add unittest for stack infermeta where -1 exists in shapes. * remove backward changes.
Showing
想要评论请 注册 或 登录