def07745ebcbe08ebb2fbba124bd07873edc8c9c,models/unet.py,DecoderBlockV2,__init__,#DecoderBlockV2#Any#Any#Any#Any#,45
Before Change
following link https://distill.pub/2016/deconv-checkerboard/
self.block = nn.Sequential(
ConvRelu(in_channels, middle_channels),
nn.ConvTranspose2d(
middle_channels,
out_channels,
kernel_size=4,
stride=2,
padding=1),
nn.ReLU(inplace=True)
)
else:
self.block = nn.Sequential(
nn.Upsample(scale_factor=2, mode="bilinear"),
After Change
in_channels=3,
num_filters=64,
num_blocks=4):
super().__init__()
self.encoder = Encoder(in_channels, num_filters, num_blocks)
self.decoder = Decoder(num_filters, num_blocks - 1)
self.final = nn.Conv2d(num_filters, num_classes, 1)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: Scitator/catalyst
Commit Name: def07745ebcbe08ebb2fbba124bd07873edc8c9c
Time: 2018-09-29
Author: scitator@gmail.com
File Name: models/unet.py
Class Name: DecoderBlockV2
Method Name: __init__
Project Name: jadore801120/attention-is-all-you-need-pytorch
Commit Name: 7d7aed37d843059248aeb3682331e92d2f019540
Time: 2018-08-22
Author: yhhuang@nlg.csie.ntu.edu.tw
File Name: transformer/SubLayers.py
Class Name: PositionwiseFeedForward
Method Name: __init__
Project Name: google-research/google-research
Commit Name: 92d5725053bbafbe3b4932fc19a891466bd95447
Time: 2020-12-20
Author: rinap@google.com
File Name: graph_compression/compression_lib/examples/mnist_eager_mode/mnist_compression.py
Class Name: CompressedModel
Method Name: __init__