Skip to content

Commit

Permalink
#0: small oops
Browse files Browse the repository at this point in the history
  • Loading branch information
jvegaTT committed Dec 10, 2024
1 parent fc85881 commit b25af68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ttnn/cpp/ttnn/operations/data_movement/view/view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ttnn::Tensor ViewOperation::invoke(const ttnn::Tensor& tensor, const ttnn::Shape
shape.logical_shape().volume() == tensor.get_logical_volume(),
"Invalid view, logical volumes are changing from {} to {}",
tensor.get_logical_volume(),
shape.logical_shape().volume())
shape.logical_shape().volume());
TT_FATAL(
ttnn::has_storage_type_of(tensor, ttnn::StorageType::DEVICE),
"View requires the tensor be stored on device, use reshape instead");
Expand Down

0 comments on commit b25af68

Please sign in to comment.