Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yuchengliu1 committed Aug 1, 2024
1 parent 35bea25 commit 484a7d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ATen/native/xpu/ReduceOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ inline TensorIterator get_allany_iter(
const Tensor& result,
OptionalIntArrayRef dims,
bool keepdim) {
return meta::make_reduction(self, result, dims, keepdim, self.scalar_type());
return meta::make_reduction_from_out_ty(
self, result, dims, keepdim, self.scalar_type());
}

template <int identity, typename Stub>
Expand Down

0 comments on commit 484a7d7

Please sign in to comment.