Skip to content

Commit

Permalink
docs: ✏️ fix typo in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
neptunes5thmoon committed Jul 2, 2024
1 parent 4005915 commit add0b02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/dlmbl_unet/unet.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(
2 for 2D convolutions and 3 for 3D convolutions. Defaults to 2.
Raises:
ValueError: If unsupoorted values are used for padding or ndim.
ValueError: If unsupported values are used for padding or ndim.
"""
super().__init__()
if padding not in ("valid", "VALID", "same", "SAME"):
Expand Down Expand Up @@ -74,7 +74,7 @@ def __init__(self, downsample_factor: int, ndim: Literal[2, 3] = 2):
Defaults to 2.
Raises:
ValueError: If unsupoorted value is used for ndim.
ValueError: If unsupported value is used for ndim.
"""

super().__init__()
Expand Down Expand Up @@ -151,7 +151,7 @@ def __init__(
ndim (Literal[2,3], optional): Number of dimensions for the convolution operation.
Defaults to 2.
Raises:
ValueError: If unsupoorted values is used for ndim.
ValueError: If unsupported values is used for ndim.
"""
super().__init__()
if ndim not in (2, 3):
Expand Down Expand Up @@ -214,7 +214,7 @@ def __init__(
3 for 3D-UNet. Defaults to 2.
Raises:
ValueError: If unsupoorted values are used for padding or ndim.
ValueError: If unsupported values are used for padding or ndim.
"""

super().__init__()
Expand Down

0 comments on commit add0b02

Please sign in to comment.