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 2020/01/14 19:13:33 UTC

[GitHub] [incubator-mxnet] vietspaceanh opened a new issue #17307: NDArray does not have `std()` method

vietspaceanh opened a new issue #17307: NDArray does not have `std()` method
URL: https://github.com/apache/incubator-mxnet/issues/17307
 
 
   Although `ndarray.mean()` exists, I cannot find the standard deviation method for `NDArray'. 
   
   Example:
   ```python
   from mxnet import nd
   a = nd.random.randn(3,3)
   a.std()
   ```
   ```
   AttributeError: 'NDArray' object has no attribute 'std'
   ```
   
   
   

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

[GitHub] [incubator-mxnet] austinmw commented on issue #17307: NDArray does not have `std()` method

Posted by GitBox <gi...@apache.org>.
austinmw commented on issue #17307: NDArray does not have `std()` method
URL: https://github.com/apache/incubator-mxnet/issues/17307#issuecomment-612283491
 
 
   > @vietspaceanh In case it helps your usecase, there is:
   > 
   > `import mxnet.numpy as np`
   > `a = np.random.randn(3,3)`
   > `np.std(a)`
   > array(0.8727266)
   
   I don't see this option in mxnet 1.5.1.

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

[GitHub] [incubator-mxnet] D-Roberts commented on issue #17307: NDArray does not have `std()` method

Posted by GitBox <gi...@apache.org>.
D-Roberts commented on issue #17307: NDArray does not have `std()` method
URL: https://github.com/apache/incubator-mxnet/issues/17307#issuecomment-574361269
 
 
   @vietspaceanh  In case it helps your usecase, there is: 
   
   `import mxnet.numpy as np`
   `a = np.random.randn(3,3)`
   `np.std(a)`
   array(0.8727266)
   

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