mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-24 22:17:32 +00:00
Add Optype to type mismatch message (#7305)
* Include optype in error message Co-authored-by: Jingyan Wang <jingywa@OrtTrainingDev3.af05slrtruoetgaxwwjv5nsq5e.px.internal.cloudapp.net>
This commit is contained in:
parent
b221a4fd86
commit
2edf29552d
1 changed files with 1 additions and 1 deletions
|
|
@ -2062,7 +2062,7 @@ Status Graph::InferAndVerifyTypeMatch(Node& node, const OpSchema& op, const Reso
|
|||
// The type-parameter T is bound to different values for different inputs.
|
||||
Status status(ONNXRUNTIME, FAIL,
|
||||
"Type Error: Type parameter (" + op_formal_parameter.GetTypeStr() +
|
||||
") bound to different types (" + *(param_to_type_iter->second) +
|
||||
") of Optype (" + op.Name() + ") bound to different types (" + *(param_to_type_iter->second) +
|
||||
" and " + *(input_def->Type()) +
|
||||
" in node (" + node_name + ").");
|
||||
return status;
|
||||
|
|
|
|||
Loading…
Reference in a new issue