[ET-VK] Implement generic reduction shader + mean, sum, amax, amin (#6473)
Pull Request resolved: https://github.com/pytorch/executorch/pull/6457 ## Context Introduce a generic shader to compute reduction along a single dim, and `keepdim = True`. With the generic shader template, `mean`, `sum`, `amin`, and `amax` can be implemented. ghstack-source-id: 249709743 @exported-using-ghexport Differential Revision: [D64840504](https://our.internmc.facebook.com/intern/diff/D64840504/) --------- Co-authored-by: Stephen Jia <ssjia@meta.com>
P
pytorchbot committed
8140a90c609a5a5e8c3ffcf9e019beef75361de4
Parent: 5692203
Committed by GitHub <noreply@github.com>
on 10/24/2024, 2:24:03 AM