MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / get_conv_layer

Function get_conv_layer

monai/networks/blocks/segresnet_block.py:22–27  ·  view source on GitHub ↗
(
    spatial_dims: int, in_channels: int, out_channels: int, kernel_size: int = 3, stride: int = 1, bias: bool = False
)

Source from the content-addressed store, hash-verified

20
21
22def get_conv_layer(
23 spatial_dims: int, in_channels: int, out_channels: int, kernel_size: int = 3, stride: int = 1, bias: bool = False
24):
25 return Convolution(
26 spatial_dims, in_channels, out_channels, strides=stride, kernel_size=kernel_size, bias=bias, conv_only=True
27 )
28
29
30def get_upsample_layer(

Callers 6

__init__Method · 0.90
_make_down_layersMethod · 0.90
_make_up_layersMethod · 0.90
_make_final_convMethod · 0.90
_prepare_vae_modulesMethod · 0.90
__init__Method · 0.70

Calls 1

ConvolutionClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…