提交 68f60649 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!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
......@@ -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";
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册