Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
okdshin committed Apr 17, 2019
1 parent fec280c commit 4d22529
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion menoh/attribute_completion_and_shape_inference.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ if(transB) {

if(a_dims.at(1) != b_dims.at(0)) {
throw dimension_mismatch(
node.op_type, input(0), "trans(A)[1] and trans(B)[0])",
node.op_type, output(0), "trans(A)[1] and trans(B)[0])",
std::to_string(a_dims.at(1)), std::to_string(b_dims.at(0)));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def main():
if(a_dims.at(1) != b_dims.at(0)) {
throw dimension_mismatch(
node.op_type, input(0), "trans(A)[1] and trans(B)[0])",
node.op_type, output(0), "trans(A)[1] and trans(B)[0])",
std::to_string(a_dims.at(1)), std::to_string(b_dims.at(0)));
}
Expand Down

0 comments on commit 4d22529

Please sign in to comment.