Created by: zhangting2020
There will be an OOB error in TensorAssignData(In paddle/fluid/inference/api/helper.h), this PR adds check for assigned data.
TensorAssignData
paddle/fluid/inference/api/helper.h
When the number of elements of infer_data is out of bounds, the error will be given.
infer_data