• L
    Enhance OpTest to check the consistency of operators when using and not using inplace (#19101) · a9d5fc51
    Leo Chen 提交于
    * add pybind interface to get all inplace ops, test=develop
    
    * enhance OpTest to check whether the consistency of operator when using and not using inplace, test=develop
    
    * handle corner cases in op_test, test=develop
    
    * support outputs without tensor holder_, like XShape in reshape_op, test=develop
    
    * fix bug, some op has GradOpMaker, but actually no grad_op in OpInfoMap, test=develop
    
    * use reshape_grad instead of reshape in FlattenGradOp, test=develop
    
    * fix error debug dims info for variables like XShape, test=develop
    
    * change computational order in sum_op to relieve computation difference using inplace, test=develop
    
    * add inplace_atol to check group_norm, and skip inplace_grad for mkldnn, test=develop
    
    * follow sneaxiy's comments, test=develop
    
    * remove unused DefaultGradOpDescMaker in mkldnn op, test=develop
    a9d5fc51
op_info.h 4.1 KB