|
|
|
@@ -28,7 +28,7 @@ int Executor::Run(std::vector<Tensor *> &in_tensors, std::vector<Tensor *> &out_ |
|
|
|
MS_LOG(ERROR) << "Graph input tensor is nullptr"; |
|
|
|
return RET_ERROR; |
|
|
|
} |
|
|
|
if (inTensor->MutableData() == nullptr) { |
|
|
|
if (inTensor->data_c() == nullptr) { |
|
|
|
MS_LOG(ERROR) << "Graph input tensor data is nullptr"; |
|
|
|
return RET_ERROR; |
|
|
|
} |
|
|
|
|