fix infer tensor compile error

pull/6750/head
kswang 5 years ago
parent 2680bd2c76
commit a8e7e283a8

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

Loading…
Cancel
Save