mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-20 19:12:24 +00:00
Added op_name to message when we are missing a kernel. (#8110)
* Added op_name to message when we are missing a kernel. * Added domain and version * Added missing ,
This commit is contained in:
parent
cba4bc11c7
commit
10b7ed6430
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ common::Status ORTInvoker::Invoke(const std::string& op_name,
|
|||
std::vector<OrtValue>& outputs,
|
||||
const NodeAttributes* attributes,
|
||||
const std::string& domain,
|
||||
const int /*version*/) {
|
||||
const int version) {
|
||||
//create a graph
|
||||
Model model("test",
|
||||
false,
|
||||
|
|
@ -61,7 +61,7 @@ common::Status ORTInvoker::Invoke(const std::string& op_name,
|
|||
OptimizerExecutionFrame::Info info({&node}, initializer_map, graph.ModelPath(), *execution_provider_);
|
||||
auto kernel = info.CreateKernel(&node);
|
||||
if (!kernel) {
|
||||
ORT_THROW("Could not find kernel");
|
||||
ORT_THROW("Could not find kernel name:", op_name, ", domain:", domain, ", version:", version);
|
||||
}
|
||||
|
||||
std::vector<int> fetch_mlvalue_idxs;
|
||||
|
|
|
|||
Loading…
Reference in a new issue