Adding torch.expm1() and its inplace function#4350
Conversation
|
@vishwakftw, thanks for your PR! We identified @zdevito to be a potential reviewer. |
|
@pytorchbot add to whitelist |
|
looks good to me, just want to run it by @gchanan for ATen interface style |
|
I monitored the builds, realized that gradients are incorrect. Sorry about that, I have fixed it now. |
|
The two failed checks seem to be caused by some remote connection problem. cc: @soumith |
|
thanks a lot @vishwakftw !!! |
| self: grad * result | ||
|
|
||
| - name: expm1(Tensor self) | ||
| self: grad * self.exp() |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This closes issue #4007 . Please let me know your views. I followed a similar style as done for the implementation of
torch.log1p.