[Cherry-pick to 1.6] Block part of "tensor should not be null" error message (#20845)
* Add IndicateVarDataType interface to block tensor is not initialized problem in OP GetExceptedKernelType (#20044) * add indicate_var_data_type inferface, test=develop * add unittests & polish error message, test=develop * remove needless include, test=develop * extract public function & polish message, test=develop * delete empty var check, test=develop * change data_type to pointer parameter, test=develop * polish details, test=develop * Replace risky GetInputType method with secure IndicateVarDataType interface (#20668) * replace part of the old implementation, test=develop * restore concat op, test=develop * update all ops implemention & delete GetDataTypeOfVar func, test=develop test=release/1.6
Showing
paddle/fluid/operators/linear_chain_crf_op.cc
100755 → 100644
想要评论请 注册 或 登录