Skip to content

Commit

Permalink
Make error message more verbose (onnx#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn authored and bddppq committed Jun 8, 2018
1 parent 3a035f4 commit 2508156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnx/defs/schema.cc
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ void OpSchema::Verify(const NodeProto& node) const {
} else if (allows_unchecked_attributes_ || isInternalSymbol(name)) {
continue;
} else {
fail_check("Unrecognized attribute: ", name);
fail_check("Unrecognized attribute: ", name, " for operator ", node.op_type());
}

switch (expected_type) {
Expand Down

0 comments on commit 2508156

Please sign in to comment.