dc21c8cd9125308ac4aaef3a4db25c48497f3fcd,tensornets/densenets.py,,densenet,#Any#Any#Any#Any#Any#Any#,39
Before Change
def densenet(x, blocks, is_training, classes, scope=None, reuse=None):
x = pad(x, [[0, 0], [3, 3], [3, 3], [0, 0]], name="conv1/pad")
x = conv(x, 64, 7, stride=2, scope="conv1")
x = pad(x, [[0, 0], [1, 1], [1, 1], [0, 0]], name="pool1/pad")
x = max_pool2d(x, 3, stride=2, scope="pool1")
x = dense(x, blocks[0], scope="conv2")
x = transition(x, scope="pool2")
After Change
def densenet(x, blocks, is_training, classes, scope=None, reuse=None):
x = pad(x, pad_info(7), name="conv1/pad")
x = conv(x, 64, 7, stride=2, scope="conv1")
x = pad(x, pad_info(3), name="pool1/pad")
x = max_pool2d(x, 3, stride=2, scope="pool1")
x = dense(x, blocks[0], scope="conv2")
x = transition(x, scope="pool2")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: taehoonlee/tensornets
Commit Name: dc21c8cd9125308ac4aaef3a4db25c48497f3fcd
Time: 2018-03-09
Author: me@taehoonlee.com
File Name: tensornets/densenets.py
Class Name:
Method Name: densenet
Project Name: taehoonlee/tensornets
Commit Name: dc21c8cd9125308ac4aaef3a4db25c48497f3fcd
Time: 2018-03-09
Author: me@taehoonlee.com
File Name: tensornets/inceptions.py
Class Name:
Method Name: inception1
Project Name: taehoonlee/tensornets
Commit Name: dc21c8cd9125308ac4aaef3a4db25c48497f3fcd
Time: 2018-03-09
Author: me@taehoonlee.com
File Name: tensornets/resnets.py
Class Name:
Method Name: resnet