Skip to content

Commit

Permalink
Fix lint in sparse_ndarray.py
Browse files Browse the repository at this point in the history
  • Loading branch information
reminisce committed Jun 12, 2017
1 parent ab40b35 commit d7225ec
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 @@ -397,7 +397,7 @@ class CSRNDArray(SparseNDArray):
"""
def __reduce__(self):
return CSRNDArray, (None,), super(SparseNDArray, self).__getstate__()
return CSRNDArray, (None,), super(CSRNDArray, self).__getstate__()

@property
def indices(self):
Expand Down Expand Up @@ -440,7 +440,7 @@ class RowSparseNDArray(SparseNDArray):
that have sparse gradients (e.g. SparseEmbedding).
"""
def __reduce__(self):
return RowSparseNDArray, (None,), super(SparseNDArray, self).__getstate__()
return RowSparseNDArray, (None,), super(RowSparseNDArray, self).__getstate__()

@property
def indices(self):
Expand Down

0 comments on commit d7225ec

Please sign in to comment.