From adaaf087e4c0804f47c85f0599301f5fd6dda2c2 Mon Sep 17 00:00:00 2001 From: Marcin Junczys-Dowmunt Date: Wed, 16 Feb 2022 13:20:48 -0800 Subject: [PATCH] better error message --- src/graph/expression_graph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph/expression_graph.h b/src/graph/expression_graph.h index 7e2a5704..e3222a0f 100644 --- a/src/graph/expression_graph.h +++ b/src/graph/expression_graph.h @@ -637,7 +637,7 @@ public: ABORT_IF(paramsByElementType_.empty(), "No parameter object has been created"); // Safeguard against accessing parameters from the outside with multiple parameter types, not yet supported - ABORT_IF(paramsByElementType_.size() > 1, "Calling of params() is currently not supported with multiple ({}) parameters", paramsByElementType_.size()); + ABORT_IF(paramsByElementType_.size() > 1, "Calling of params() is currently not supported with multiple ({}) parameter types (did you try to access a quantized model?)", paramsByElementType_.size()); // Safeguard against accessing parameters from the outside with other than default parameter type, not yet supported auto it = paramsByElementType_.find(defaultElementType_);