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/02/01 00:12:21 UTC
[GitHub] [incubator-mxnet] ChaiBapchya commented on issue #17444: [Large
Tensor] Add LT support for NN optimizers and 1 activation function
ChaiBapchya commented on issue #17444: [Large Tensor] Add LT support for NN optimizers and 1 activation function
URL: https://github.com/apache/incubator-mxnet/pull/17444#issuecomment-580964144
```
>>> import mxnet as mx
>>> from mxnet.test_utils import *
>>> w = rand_ndarray((2**32+1,1), 'row_sparse', density=1)
>>> mx.nd.adam_update(w,w,w,w,lr=0.1)
[00:00:47] ../src/executor/../operator/../common/utils.h:472: Optimizer with lazy_update = True detected. Be aware that lazy update with row_sparse gradient is different from standard update, and may lead to different empirical results. See https://mxnet.apache.org/api/python/optimization/optimization.html for more details.
<RowSparseNDArray 4294967297x1 @cpu(0)>
>>> a=mx.nd.adam_update(w,w,w,w,lr=0.1)
>>> a
<RowSparseNDArray 4294967297x1 @cpu(0)>
```
----------------------------------------------------------------
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