Skip to content

Commit

Permalink
Some extra newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Han Chen committed Jul 29, 2019
1 parent f7b9a00 commit bd8b74c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions python/cuml/manifold/t_sne.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@ class TSNE(Base):
self.Y = Y
return self


def __del__(self):
if "Y" in self.__dict__:
del self.Y
Expand All @@ -410,7 +409,6 @@ class TSNE(Base):
# GPU memory.
cuda.current_context().deallocations.clear()


def fit_transform(self, X):
"""Fit X into an embedded space and return that transformed output.
Parameters
Expand Down Expand Up @@ -441,7 +439,6 @@ class TSNE(Base):
return data
return None # is this even possible?


def __getstate__(self):
state = self.__dict__.copy()

Expand All @@ -452,7 +449,6 @@ class TSNE(Base):
del state["handle"]
return state


def __setstate__(self, state):
super(TSNE, self).__init__(handle=None,
verbose=(state['verbose'] != 0))
Expand Down

0 comments on commit bd8b74c

Please sign in to comment.