Browse Source

fix infer tensor compile error

tags/v1.1.0
kswang 5 years ago
parent
commit
286083faf7
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      include/infer_tensor.h

+ 2
- 1
include/infer_tensor.h 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;
}


Loading…
Cancel
Save