Skip to content

Commit

Permalink
#15075: add assert so illegal host reshape is never reached
Browse files Browse the repository at this point in the history
  • Loading branch information
yugi957 committed Dec 5, 2024
1 parent f976cb0 commit 88a22f5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ ttnn::Tensor ReshapeViewOperation::invoke(
return tensor.reshape(shape);
}
//This is a completely incorrect test but it is due to issue 15558
TT_FATAL(false, "Attempting to reshape between two shapes with different volumes");
return detail::host_reshape(tensor, shape);
}
// Catch-all
Expand Down

0 comments on commit 88a22f5

Please sign in to comment.