Add LogSigmoid support in ONNX symbolic (#14830)
authorzrphercule <zrphercule@gmail.com>
Thu, 6 Dec 2018 22:04:44 +0000 (14:04 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 6 Dec 2018 22:17:33 +0000 (14:17 -0800)
commitddca0442b67b5d0bff79bd8b62289df1da749ec2
treef239e54e938d7e8f6aa7fc11aefecade1bac706d
parent5f0bff96391621fcdad638a71e1ab6e42f553ef5
Add LogSigmoid support in ONNX symbolic (#14830)

Summary:
Add LogSigmoid:

torch.LogSigmoid(x) = onnx.Log(onnx.Sigmoid(x))
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14830

Differential Revision: D13353891

Pulled By: zrphercule

fbshipit-source-id: bf456170b9e6c4edad07b3333cd5797f8e0fa97f
test/onnx/expect/TestOperators.test_log_sigmoid.expect [new file with mode: 0644]
test/onnx/test_operators.py
torch/onnx/symbolic.py