From de66284a11fe723bbf9d336e9f28ad5a01880a1b Mon Sep 17 00:00:00 2001 From: mengyuanli Date: Fri, 3 Feb 2023 17:27:28 +0800 Subject: [PATCH] fix bug of log error --- mindspore/lite/src/common/tensor_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/lite/src/common/tensor_util.cc b/mindspore/lite/src/common/tensor_util.cc index 134694969e8..65c3b29c119 100644 --- a/mindspore/lite/src/common/tensor_util.cc +++ b/mindspore/lite/src/common/tensor_util.cc @@ -438,7 +438,7 @@ int MoveTensorListTensorData(TensorList *dst_tensorlist, TensorList *src_tensorl auto dst_tensorlist_tensors_size = dst_tensorlist->tensors().size(); if (src_tensorlist_tensors_size != dst_tensorlist_tensors_size) { MS_LOG(ERROR) << "src tensorlist: " << src_tensorlist->tensor_name() - << " tesnors size: " << src_tensorlist_tensors_size + << " tensors size: " << src_tensorlist_tensors_size << " vs dst tensorlist: " << dst_tensorlist->tensor_name() << " tensors size: " << dst_tensorlist_tensors_size; return RET_ERROR;