You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/10/02 05:13:18 UTC

[GitHub] sbodenstein opened a new pull request #8123: Fix LeakyRELU Bug

sbodenstein opened a new pull request #8123: Fix LeakyRELU Bug
URL: https://github.com/apache/incubator-mxnet/pull/8123
 
 
   `mx.symbol.LeakyReLU` crashes when using vector inputs. For example, this crashes for the forward pass:
   ```
   a = mx.sym.var('data')
   s=mx.symbol.LeakyReLU(data=a, act_type="elu")
   e=s.simple_bind(mx.cpu(), data=(2,))
   e.forward()
   ```
   This PR is a simple fix, along with a test for `mx.sym.LeakyReLU(x, act_type="elu", slope=1.0)` for vector inputs.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services