MCPcopy Create free account
hub / github.com/Xiaobin-Rong/gtcrn / __init__

Method __init__

stream/gtcrn_stream.py:269–277  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

267
268class 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 """

Callers

nothing calls this directly

Calls 3

StreamGTConvBlockClass · 0.85
ConvBlockClass · 0.70
__init__Method · 0.45

Tested by

no test coverage detected