Skip to content

Commit

Permalink
Fix lint (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
reminisce authored and eric-haibin-lin committed Jun 12, 2017
1 parent 3d2d1c0 commit 1e86dbf
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 1e86dbf

Please sign in to comment.