!48396 [MS][DOC]fix error log

Merge pull request !48396 from mengyuanli/code_docs_bug_fix
This commit is contained in:
i-robot 2023-02-06 06:31:32 +00:00 committed by Gitee
commit d9649cf5aa
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -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;