MONAI
MONAI copied to clipboard
refactor unet blocks to use the more recent layer api
Is your feature request related to a problem? Please describe.
the previous implementations of get_*_layer
https://github.com/Project-MONAI/MONAI/blob/ff9ff55dd9198dabcc31eebe3109332ea708b356/monai/networks/blocks/dynunet_block.py#L133-L137
could now be replaced by Convolution
https://github.com/Project-MONAI/MONAI/blob/ff9ff55dd9198dabcc31eebe3109332ea708b356/monai/networks/blocks/convolutions.py#L24
this is however a breaking change, the existing versions should be kept and deprecated by renaming and with warnings in advance.