From cb5decabf412eddcae8574d08511cc8ed3fdc889 Mon Sep 17 00:00:00 2001 From: Haibin Lin Date: Sun, 25 Jun 2017 22:34:14 -0700 Subject: [PATCH] fix lint (#115) --- python/mxnet/sparse_ndarray.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/mxnet/sparse_ndarray.py b/python/mxnet/sparse_ndarray.py index 52ce5eb54b15..5faddd979078 100644 --- a/python/mxnet/sparse_ndarray.py +++ b/python/mxnet/sparse_ndarray.py @@ -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