How about having a version that takes a function to avoid allocation when doing `logsumexp(f.(x))` ? Would you be open to a PR?
Activity
devmotion commentedon Jul 14, 2022
Would it be just
? Or maybe
::AbstractArrayto::Base.AbstractArrayOrBroadcasted?In any case, I think it could be convenient even though at least the first alternative already works. So I guess a PR would be great 🙂