(self)
| 238 | |
| 239 | class StreamEncoder(nn.Module): |
| 240 | def __init__(self): |
| 241 | super().__init__() |
| 242 | self.en_convs = nn.ModuleList([ |
| 243 | ConvBlock(3*3, 16, (1,5), stride=(1,2), padding=(0,2), use_deconv=False, is_last=False), |
| 244 | ConvBlock(16, 16, (1,5), stride=(1,2), padding=(0,2), groups=2, use_deconv=False, is_last=False), |
| 245 | StreamGTConvBlock(16, 16, (3,3), stride=(1,1), padding=(0,1), dilation=(1,1), use_deconv=False), |
| 246 | StreamGTConvBlock(16, 16, (3,3), stride=(1,1), padding=(0,1), dilation=(2,1), use_deconv=False), |
| 247 | StreamGTConvBlock(16, 16, (3,3), stride=(1,1), padding=(0,1), dilation=(5,1), use_deconv=False) |
| 248 | ]) |
| 249 | |
| 250 | def forward(self, x, conv_cache, tra_cache): |
| 251 | """ |
nothing calls this directly
no test coverage detected