!6750 fix infer tensor compile error

Merge pull request !6750 from kisnwang/r1.0
pull/6750/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit a6263d2837

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

Loading…
Cancel
Save