-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Closed
Labels
awaiting response (this tag is deprecated)This tag is deprecated while we figure out what to do with itThis tag is deprecated while we figure out what to do with it
Description
Hi,
I am using pytorch to implement a word2vec-like model. I frequently faced overflow/underflow with logsigmoid operation.
For example, if I run pytorch like this F.logsigmoid(autograd.Variable(torch.FloatTensor([-300.0]))) the result is -inf. It would be better if pytorch could implement the logsigmoid with overflow check.
Thanks
Metadata
Metadata
Assignees
Labels
awaiting response (this tag is deprecated)This tag is deprecated while we figure out what to do with itThis tag is deprecated while we figure out what to do with it