Skip to content

Commit

Permalink
update base transform
Browse files Browse the repository at this point in the history
  • Loading branch information
ncullen93 committed May 4, 2024
1 parent ba51b8a commit 4526889
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions nitrain/transforms/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ def fit(self, *inputs):
def __call__(self, *inputs):
raise NotImplementedError

def sample(self, image, n=10):
res = []
for _ in range(n):
res.append(self.__call__(image))
return res

def __call__(self, *inputs):
raise NotImplementedError

def __repr__(self):
raise NotImplementedError

Expand Down

0 comments on commit 4526889

Please sign in to comment.