Skip to content

Commit 0f100d6

Browse files
authored
refactor(//core/conversion/evaluators): Clarify evaluator error
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 8de1f29 commit 0f100d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/conversion/evaluators/NodeEvaluatorRegistry.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ class NodeEvaluatorRegistry {
5959
TRTORCH_CHECK(
6060
schema,
6161
"Evaluator for " << node_kind.toQualString()
62-
<< " only runs on certain schemas, but schema for node is not retrievable");
62+
<< " only runs on certain schemas, but schema for target"
63+
<< " node is not a supported schema variant of " << node_kind.toQualString());
6364
if (!FindInVec(eval_reg.options.valid_schemas, schema->operator_name())) {
6465
return nullptr;
6566
}

0 commit comments

Comments
 (0)