Enhance OpTest to support double grad inplace check (#19826)
* update OpTest to support double grad inplace check, test=develop * keep consistency of _calc_output function, test=developexpand_as_op_1
parent
6045541e89
commit
5fbf03d6b4