dc00752d3ad585cb44eefe7cecf86bfc09890e25,models/densenet.py,DenseNet,__init__,#DenseNet#,84
Before Change
super().__init__()
// First convolution
self.features = nn.Sequential(
OrderedDict([
("conv1",
nn.Conv3d(
3,
num_init_features,
kernel_size=(conv1_t_size, 7, 7),
stride=(conv1_t_stride, 2, 2),
padding=(conv1_t_size // 2, 3, 3),
bias=False)),
("norm1", nn.BatchNorm3d(num_init_features)),
("relu1", nn.ReLU(inplace=True)),
("pool1", nn.MaxPool3d(kernel_size=3, stride=2, padding=1)),
]))
// Each denseblock
num_features = num_init_features
for i, num_layers in enumerate(block_config):
After Change
self.features.append(("pool1",
nn.MaxPool3d(
kernel_size=3, stride=2, padding=1)))
self.features = nn.Sequential(OrderedDict(self.features))
// Each denseblock
num_features = num_init_features
for i, num_layers in enumerate(block_config):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances Project Name: kenshohara/3D-ResNets-PyTorch
Commit Name: dc00752d3ad585cb44eefe7cecf86bfc09890e25
Time: 2018-12-12
Author: kensho.hara@aist.go.jp
File Name: models/densenet.py
Class Name: DenseNet
Method Name: __init__
Project Name: eriklindernoren/PyTorch-GAN
Commit Name: 9e3ac57d2a0480ded339841dda18b13e2645987f
Time: 2018-05-12
Author: eriklindernoren@gmail.com
File Name: implementations/bicyclegan/models.py
Class Name: Discriminator
Method Name: __init__
Project Name: meijieru/crnn.pytorch
Commit Name: 23cb35dbd33785a8609e38eccd48d8fa3914ca7c
Time: 2017-03-02
Author: meijieru
File Name: models/crnn.py
Class Name: CRNN
Method Name: __init__
Project Name: mozilla/TTS
Commit Name: eb555855e4a81f9ce0b645a6bbce610feaa0d7e6
Time: 2021-01-06
Author: erogol@hotmail.com
File Name: TTS/tts/layers/speedy_speech/encoder.py
Class Name: Encoder
Method Name: __init__