Skip to content

Commit

Permalink
Update on "[inductor] Decompose boolean min/max into all/any"
Browse files Browse the repository at this point in the history
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx ipiszy yf225 chenyang78 kadeng muchulee8 aakhundov ColinPeppler

[ghstack-poisoned]
  • Loading branch information
peterbell10 committed Oct 2, 2023
2 parents bfc1f21 + ac80283 commit c65dfec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aten/src/ATen/native/ReduceOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1567,9 +1567,9 @@ Tensor allany_dims_default(const Tensor &self, OptionalIntArrayRef dim, bool kee
if (!dim) {
Tensor out;
if constexpr (is_all) {
return self.all();
out = self.all();
} else {
return self.any();
out = self.any();
}

if (keepdim) {
Expand Down

0 comments on commit c65dfec

Please sign in to comment.