Commit ec5c4651 by Wenhao Hu Committed by Tianqi Chen

fix onnx frontend softplus bug (#413)

parent 8c5b4909
......@@ -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():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment