msd
¶
Module implementing MS-D net.
Classes:
-
DilatedConvBlock
–Dilated convolution block (dilated_conv => BN => ReLU).
-
MSDDilBlock
–MS-D Block containing the sequence of dilated convolutional layers.
-
MSDSampBlock
–MS-D Block containing the sequence of dilated convolutional layers.
-
MSDnet
–Simple MS-D net implementation.
-
SamplingConvBlock
–Down-sampling convolution module (down-samp => conv => BN => ReLU => up-samp).
DilatedConvBlock
¶
Bases: Sequential
Dilated convolution block (dilated_conv => BN => ReLU).
Source code in src/autoden/models/msd.py
13 14 15 16 17 18 |
|
MSDDilBlock
¶
Bases: Module
MS-D Block containing the sequence of dilated convolutional layers.
Source code in src/autoden/models/msd.py
73 74 75 76 77 78 79 80 81 82 83 |
|
MSDSampBlock
¶
Bases: Module
MS-D Block containing the sequence of dilated convolutional layers.
Source code in src/autoden/models/msd.py
38 39 40 41 42 43 44 45 46 47 48 |
|
MSDnet
¶
MSDnet(
n_channels_in: int = 1,
n_channels_out: int = 1,
n_layers: int = 12,
n_features: int = 1,
dilations: Sequence[int] = [1, 2, 3, 4],
device: str = "cuda" if is_available() else "cpu",
use_dilations: bool = True,
)
Bases: Module
Simple MS-D net implementation.
Source code in src/autoden/models/msd.py
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
|
SamplingConvBlock
¶
Bases: Sequential
Down-sampling convolution module (down-samp => conv => BN => ReLU => up-samp).
Source code in src/autoden/models/msd.py
24 25 26 27 28 29 30 31 32 |
|