Skip to content

Commit 23bb423

Browse files
authored
Update aten/src/ATen/native/mps/operations/ReduceOps.mm
1 parent c047971 commit 23bb423

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,10 +1559,6 @@ static void median_out_mps_common(const Tensor& input_t,
15591559
return;
15601560
}
15611561

1562-
if (values.numel() == 0) {
1563-
return;
1564-
}
1565-
15661562
if (input_t.numel() == 1 && input_t.dim() == 0) {
15671563
values.fill_(input_t);
15681564
indices.fill_(0);

0 commit comments

Comments
 (0)