Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix lint #115

Merged
merged 1 commit into from
Jun 26, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/mxnet/sparse_ndarray.py
Original file line number Diff line number Diff line change
@@ -362,7 +362,7 @@ def _data(self, writable=False):
check_call(_LIB.MXNDArrayGetDataNDArray(self.handle, ctypes.byref(hdl)))
return NDArray(hdl, writable)


# pylint: disable=abstract-method
class CSRNDArray(SparseNDArray):
"""A CSRNDArray represents a NDArray as three separate arrays: `values`,
`indptr` and `indices`. It uses the standard CSR representation where the column indices for
@@ -398,7 +398,7 @@ def indptr(self):
"""
return self._aux_data(0)


# pylint: disable=abstract-method
class RowSparseNDArray(SparseNDArray):
"""A RowSparseNDArray is typically used to represent a subset of a larger
NDArray with `default` of shape [LARGE0, D1, .. , DN] where LARGE0 >> D0. The values