Skip to content

Commit 48a4edd

Browse files
razarmehrmalfet
andauthored
Apply formatting suggestions
Co-authored-by: Nikita Shulga <nikita.shulga@gmail.com>
1 parent d569734 commit 48a4edd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

aten/src/ATen/native/mps/operations/TensorCompare.mm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,7 @@ Tensor where_mps(const Tensor& condition,
420420
c10::optional<double> nan,
421421
c10::optional<double> pos_inf,
422422
c10::optional<double> neg_inf,
423-
Tensor& result)
424-
{
423+
Tensor& result) {
425424
TORCH_CHECK(self.scalar_type() == result.scalar_type(), "nan_to_num: dtype of out: ",
426425
result.scalar_type(), " should be same as input: ", self.scalar_type());
427426
if (result.numel() == 0) {

0 commit comments

Comments
 (0)