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/09 23:23:16 UTC

[GitHub] bradcar commented on issue #2856: PReLU problem

bradcar commented on issue #2856: PReLU problem
URL: https://github.com/apache/incubator-mxnet/issues/2856#issuecomment-350512780
 
 
   Hi taoari, I have been unable to find out how to properly use prelu in MXNet: 
           x = F.LeakyReLU(self.conv4(x), act_type='prelu')
   I get this error:
   [[11:04:52] /Users/travis/build/dmlc/mxnet-distro/mxnet-build/dmlc-core/include/dmlc/logging.h:308: [11:04:52] src/c_api/c_api_ndarray.cc:76: Check failed: num_inputs == infered_num_inputs (1 vs. 2) Operator LeakyReLU expects 2 inputs, but got 1 instead.
   
   any insights?
   
   

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