singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-singa] joddiy commented on issue #540: added softmax with axis
Date Fri, 04 Oct 2019 03:18:04 GMT
joddiy commented on issue #540: added softmax with axis
URL: https://github.com/apache/incubator-singa/pull/540#issuecomment-538211628
 
 
   still has some problems, the output of multiple dimension inputs is not correct. 
   please check:
   ```
   x_0 = np.array([[0, 1, 2, 3], [10000, 10001, 10002, 10003]]).astype(np.float32)
   # axis is 1
   # expected output [[0.0320586, 0.08714432, 0.23688284, 0.64391428],
   #                 [0.0320586, 0.08714432, 0.23688284, 0.64391428]]
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message