diff --git a/onnxruntime/core/graph/graph.cc b/onnxruntime/core/graph/graph.cc index 5f3de37128..d639e0c070 100644 --- a/onnxruntime/core/graph/graph.cc +++ b/onnxruntime/core/graph/graph.cc @@ -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;