Skip to content
Snippets Groups Projects
Commit ec5c4651 authored by Wenhao Hu's avatar Wenhao Hu Committed by Tianqi Chen
Browse files

fix onnx frontend softplus bug (#413)

parent 8c5b4909
No related branches found
No related tags found
No related merge requests found
......@@ -217,7 +217,7 @@ def _softsign():
def _softplus():
def _impl(inputs, attr, params):
return _sym.log(_sym.exp(x) + 1)
return _sym.log(_sym.exp(inputs[0]) + 1)
return _impl
def _pad():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment