-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Closed
Description
The numerically stable version of logsumexp is simple but often useful. Thoughts on including this in PyTorch?
My thought is that it'd follow a call signature(s) that's similar to that of sum, but logsumexp wouldn't have the out keyword, and it'd also use the NumPy-consistent keepdims keyword instead of sum's keepdim keyword. So
def logsumexp(inputs, dim=None, keepdims=False):
...
jxhe, meijun, MaigoAkisame, angusturner, LittleWat and 22 more
Metadata
Metadata
Assignees
Labels
No labels