Skip to content

Commit

Permalink
Apply formatting suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Shulga <nikita.shulga@gmail.com>
  • Loading branch information
razarmehr and malfet committed Jan 4, 2023
1 parent d569734 commit 48a4edd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aten/src/ATen/native/mps/operations/TensorCompare.mm
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,7 @@ Tensor where_mps(const Tensor& condition,
c10::optional<double> nan,
c10::optional<double> pos_inf,
c10::optional<double> neg_inf,
Tensor& result)
{
Tensor& result) {
TORCH_CHECK(self.scalar_type() == result.scalar_type(), "nan_to_num: dtype of out: ",
result.scalar_type(), " should be same as input: ", self.scalar_type());
if (result.numel() == 0) {
Expand Down

0 comments on commit 48a4edd

Please sign in to comment.