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 2018/09/03 15:02:04 UTC

[GitHub] psn9 opened a new issue #12444: Errr in IdentityAttachKLSparseReg

psn9 opened a new issue #12444: Errr in IdentityAttachKLSparseReg
URL: https://github.com/apache/incubator-mxnet/issues/12444
 
 
   I am getting the following error when using the IdentityAttachKLSparseReg Symbol. Here's my code : 
   
   import mxnet as mx
   data = mx.symbol.Variable(“data”)
   data_nd = mx.nd.array([1,1,1,1])
   out = mx.symbol.IdentityAttachKLSparseReg(data)
   exe = out.bind(mx.cpu(), {‘data’ : data_nd })
   
   
   Traceback (most recent call last):
   File “”, line 1, in 
   File “/usr/local/lib/python2.7/dist-packages/mxnet/symbol.py”, line 1607, in bind
   ‘aux_states’, aux_states, self.list_auxiliary_states(), False)
   File “/usr/local/lib/python2.7/dist-packages/mxnet/symbol.py”, line 1242, in _get_ndarray_inputs
   raise ValueError(‘Length of %s does not match the number of arguments’ % arg_key)
   ValueError: Length of aux_states does not match the number of arguments
   
   Am specifying only one Input as per the description. But still it throws out error stating the number of arguments are less ( 1 vs 2 ). The scenario is the same in NDArray.

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