You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/07/31 03:55:14 UTC
[GitHub] reminisce commented on a change in pull request #7251: update sparse ndarray api
reminisce commented on a change in pull request #7251: update sparse ndarray api
URL: https://github.com/apache/incubator-mxnet/pull/7251#discussion_r130268117
##########
File path: python/mxnet/ndarray/__init__.py
##########
@@ -3,10 +3,10 @@
from . import _internal
from . import op
from .op import CachedOp, invoke
-from .ndarray import NDArray, array, concatenate, _DTYPE_NP_TO_MX, _DTYPE_MX_TO_NP
-from .ndarray import empty, ones, add, arange, divide, equal, full, greater, greater_equal, imdecode
+from .ndarray import NDArray, concatenate, _DTYPE_NP_TO_MX, _DTYPE_MX_TO_NP
+from .ndarray import ones, add, arange, divide, equal, full, greater, greater_equal, imdecode
from .ndarray import lesser, lesser_equal, maximum, minimum, moveaxis, multiply, negative, not_equal
from .ndarray import onehot_encode, power, subtract, true_divide, waitall, _new_empty_handle
-from .ndarray_utils import load, save, zeros
-from .sparse_ndarray import _ndarray_cls
-from .sparse_ndarray import csr, row_sparse, SparseNDArray, todense, RowSparseNDArray, CSRNDArray
+from .ndarray_utils import load, save, zeros, empty, array
+from .sparse_ndarray import _ndarray_cls, todense
+from .sparse_ndarray import csr, row_sparse, BaseSparseNDArray, RowSparseNDArray, CSRNDArray
Review comment:
Is it more consistent to name it `SparseNDArrayBase` as we have `NDArrayBase`?
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services