(self)
| 267 | |
| 268 | class StreamDecoder(nn.Module): |
| 269 | def __init__(self): |
| 270 | super().__init__() |
| 271 | self.de_convs = nn.ModuleList([ |
| 272 | StreamGTConvBlock(16, 16, (3,3), stride=(1,1), padding=(0,1), dilation=(5,1), use_deconv=True), |
| 273 | StreamGTConvBlock(16, 16, (3,3), stride=(1,1), padding=(0,1), dilation=(2,1), use_deconv=True), |
| 274 | StreamGTConvBlock(16, 16, (3,3), stride=(1,1), padding=(0,1), dilation=(1,1), use_deconv=True), |
| 275 | ConvBlock(16, 16, (1,5), stride=(1,2), padding=(0,2), groups=2, use_deconv=True, is_last=False), |
| 276 | ConvBlock(16, 2, (1,5), stride=(1,2), padding=(0,2), use_deconv=True, is_last=True) |
| 277 | ]) |
| 278 | |
| 279 | def forward(self, x, en_outs, conv_cache, tra_cache): |
| 280 | """ |
nothing calls this directly
no test coverage detected