connorgoggins opened a new issue #17454: IdentityAttachKLSparseReg - operator argument error URL: https://github.com/apache/incubator-mxnet/issues/17454 ## Description The [docs](https://mxnet.apache.org/api/python/docs/api/symbol/symbol.html#mxnet.symbol.IdentityAttachKLSparseReg) for the `IdentityAttachKLSparseReg` operator clearly state that `data` is the only required arg, but when running the op with just the `data` arg I encounter a mismatch error between the number of inputs and inferred number of inputs indicating that the operator expects 2 inputs. This issue also happens when I include any or all of the optional args. Furthermore, I pulled the op's `arg_names` which gave me `['data', 'sparseness_target', 'penalty', 'momentum’]` - all of which are included in my call to the operator which fails. ### Error Message (Paste the complete error message. Please also include stack trace by setting environment variable `DMLC_LOG_STACK_TRACE_DEPTH=10` before running your script.) ## To Reproduce Open the Python shell. Then: 1. `import mxnet as mx` 2. `mx.nd.IdentityAttachKLSparseReg(data=mx.nd.random_uniform(shape=(4)), sparseness_target=.1, penalty=.1, momentum=.1)` The error also appears with any other input shape for data. ## Environment Building MXNet from source, this error occurred on both Mac OS and Ubuntu builds with Python3.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
