Skip to content

Commit

Permalink
fix lint (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-haibin-lin committed Jun 26, 2017
1 parent f8556cc commit cb5deca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/mxnet/sparse_ndarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cb5deca

Please sign in to comment.