Skip to content

DynUNet docstring conflicts with default kwarg for res_block #2456

@zbarry

Description

@zbarry

In the docstring for DynUNet, res_block is said to be set to True by default, but it is actually set to False in the method definition:

res_block: whether to use residual connection based convolution blocks during the network.
Defaults to ``True``.
"""
def __init__(
self,
spatial_dims: int,
in_channels: int,
out_channels: int,
kernel_size: Sequence[Union[Sequence[int], int]],
strides: Sequence[Union[Sequence[int], int]],
upsample_kernel_size: Sequence[Union[Sequence[int], int]],
norm_name: Union[Tuple, str] = ("INSTANCE", {"affine": True}),
deep_supervision: bool = False,
deep_supr_num: int = 1,
res_block: bool = False,
):

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions