!6749 fix infer tensor compile error

Merge pull request !6749 from kisnwang/fix-infer-tensor-compile-error
This commit is contained in:
mindspore-ci-bot 2020-09-23 14:29:08 +08:00 committed by Gitee
commit 8cf0dcf862
1 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,8 @@ class InferTensorBase {
}
auto ret = memcpy_s(mutable_data(), data_size(), data, data_len);
if (ret != 0) {
MS_LOG(EXCEPTION) << "Set data memcpy_s failed";
MSI_LOG_ERROR << "Set data memcpy_s failed";
return false;
}
return true;
}