-
Notifications
You must be signed in to change notification settings - Fork 89
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good to me - just one minor docstring change I noticed!
n_stages: number of interpolation stages. | ||
size: output spatial size (int or Tuple[int] or Tuple[int, int] or Tuple[int, int, int]). | ||
method: algorithm used for sampling. | ||
multiplier: multiplier for spatial size. If scale_factor is a tuple, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this part about scale_factor
doesn't make sense - there is no variable with that name, and multiplier can't be a tuple. maybe just delete the part about scale_factor
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing out the docstring problem. I have fixed it. This remembers me that the multiplier
can be a Sequence[float]
. I already added this type and a new test case for this situation in the latest commit.
"multiplier": (0.25, 0.5, 0.75), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks for the addition
Follow the discussion at #410 and add the spatial rescaler implementation.