!13066 [MD][usability] Fix batch_op log level

From: @xiefangqi
Reviewed-by: @liucunwei,@pandoublefeng
Signed-off-by: @liucunwei
pull/13066/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 62149265d5

@ -390,7 +390,7 @@ Status BatchOp::InvokeBatchMapFunc(TensorTable *input, TensorTable *output, CBat
TensorRow output_batch;
// If user returns a type that is neither a list nor an array, issue a error msg.
if (!py::isinstance<py::list>(ret_tuple[i])) {
MS_LOG(ERROR) << "column: " << out_col_names_[i]
MS_LOG(INFO) << "column: " << out_col_names_[i]
<< " returned by per_batch_map is not a list, this could lead to conversion failure.";
}

Loading…
Cancel
Save