keep_dims not respected when a reduction is over the entire input shape
bwasti opened this issue · comments
Bram Wasti commented
Bug Description
As in title
flashlight/flashlight/fl/tensor/backend/af/ArrayFireReductions.cpp
Lines 184 to 192 in 5b44419
(current workaround in shumai: https://github.com/facebookresearch/shumai/blob/main/shumai/cpp/binding_gen.inl#L454-L458)