a968bc8ae127d1e3833c2fa468858f9c48f6923c,batchflow/models/torch/encoder_decoder.py,DecoderModule,_make_modules,#DecoderModule#Any#,116
Before Change
upsample_args = kwargs.pop("upsample")
combine_args = kwargs.pop("combine")
self.decoder_b, self.decoder_u, self.decoder_c = nn.ModuleList(), nn.ModuleList(), nn.ModuleList()
for i in range(num_stages):
for letter in decoder_layout:
if letter in ["b"]:
After Change
else:
raise ValueError("Unknown letter in order {}, use one of ("b", "u", "c")".format(letter))
self.update([(layer_desc, layer)] )
self.layout += letter
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: analysiscenter/batchflow
Commit Name: a968bc8ae127d1e3833c2fa468858f9c48f6923c
Time: 2020-02-10
Author: Tsimfer.SA@gazprom-neft.ru
File Name: batchflow/models/torch/encoder_decoder.py
Class Name: DecoderModule
Method Name: _make_modules
Project Name: analysiscenter/batchflow
Commit Name: a968bc8ae127d1e3833c2fa468858f9c48f6923c
Time: 2020-02-10
Author: Tsimfer.SA@gazprom-neft.ru
File Name: batchflow/models/torch/layers/conv_block.py
Class Name: ConvBlock
Method Name: _make_modules
Project Name: analysiscenter/batchflow
Commit Name: a968bc8ae127d1e3833c2fa468858f9c48f6923c
Time: 2020-02-10
Author: Tsimfer.SA@gazprom-neft.ru
File Name: batchflow/models/torch/encoder_decoder.py
Class Name: DecoderModule
Method Name: _make_modules
Project Name: dpressel/mead-baseline
Commit Name: 4d75253f817053abf2eb7bd909b5d0389b82814d
Time: 2021-03-02
Author: dpressel@gmail.com
File Name: layers/eight_mile/pytorch/layers.py
Class Name: TransformerEncoderStack
Method Name: __init__