Browse Source

!719 fix error type of input of ge graph is not tensor

Merge pull request !719 from fary86/fix_error_type_of_input_not_tensor
tags/v0.3.0-alpha
mindspore-ci-bot Gitee 6 years ago
parent
commit
68f6064931
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/pipeline/pipeline_ge.cc

+ 1
- 1
mindspore/ccsrc/pipeline/pipeline_ge.cc View File

@@ -465,7 +465,7 @@ void ProcessGeArg(const std::map<std::string, ExecutorInfoPtr> &info, const py::
if (converted->isa<tensor::Tensor>()) {
inputs->push_back(converted->cast<tensor::TensorPtr>());
} else {
MS_LOG(EXCEPTION) << "Args " << converted->ToString() << " is not tensor";
MS_EXCEPTION(TypeError) << "Args " << converted->ToString() << " is not tensor";
}
}
}


Loading…
Cancel
Save