Skip to content

Commit 529e90b

Browse files
committed
Update type annotations and doctring
1 parent a0afee5 commit 529e90b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

monai/networks/blocks/downsample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def __init__(
249249
"""
250250
Downsamples data by rearranging spatial information into channel space.
251251
This reduces spatial dimensions while increasing channel depth.
252-
252+
253253
Args:
254254
spatial_dims: number of spatial dimensions of the input image.
255255
in_channels: number of channels of the input image.

monai/networks/nets/restormer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def __init__(
113113
num_refinement_blocks: int = 4,
114114
ffn_expansion_factor: float = 2.66,
115115
bias: bool = False,
116-
layer_norm_use_bias: str = True,
116+
layer_norm_use_bias: bool = True,
117117
dual_pixel_task: bool = False,
118118
flash_attention: bool = False,
119119
) -> None:

0 commit comments

Comments
 (0)