anirudhacharya commented on issue #10145: Inconsistent outputs with mxnet 
symbol.softmax vs ndarray.softmax
URL: 
https://github.com/apache/incubator-mxnet/issues/10145#issuecomment-374458182
 
 
   The mistake was in my code. In the following part, I should not have 
enclosed val in parentheses. It adds an extra dimension to the input, hence the 
wrong results.
   ```python
   for idx, input_name in enumerate(data_names):
       val = inputs[idx]
       data_forward.append(mx.nd.array([val]))
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to