You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2017/12/18 10:47:18 UTC

[GitHub] nihui opened a new pull request #9121: add MSRAPrelu initializer for cpp-package

nihui opened a new pull request #9121: add MSRAPrelu initializer for cpp-package
URL: https://github.com/apache/incubator-mxnet/pull/9121
 
 
   ## Description ##
   
   hello, this change adds the MSRAPrelu initializer for cpp-package, which follows the python code
   ```
       def __init__(self, factor_type="avg", slope=0.25):
           magnitude = 2. / (1 + slope ** 2)
           super(MSRAPrelu, self).__init__("gaussian", factor_type, magnitude)
           self._kwargs = {'factor_type': factor_type, 'slope': slope}
   ```

----------------------------------------------------------------
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