Example #1
0
def rn32_cf100_exg_d_sep_fixed_eye():
    model = ResNet_alt(BasicBlock, [5, 5, 5])
    model.layer3[4].conv2 = nn.Sequential(
        nn.Conv2d(64,
                  64,
                  kernel_size=3,
                  stride=1,
                  padding=1,
                  bias=False,
                  groups=64),
        nn.Conv2d(64,
                  100,
                  kernel_size=1,
                  stride=1,
                  padding=0,
                  dilation=1,
                  groups=1,
                  bias=False))
    model = __fixed_eye(model)
    return model
Example #2
0
def rn32_cf100_exnull_no_last_relu_fixed_eye():
    model = rn32_cf100_exnull_no_last_relu()
    model = __fixed_eye(model)
    return model
Example #3
0
def rn32_cf100_exnull_fixed_eye_no_bias():
    model = rn32_cf100_exnull()
    model = __no_bias(model)
    model = __fixed_eye(model)
    return model
Example #4
0
def resnet32_cifar64_fixed_eye_no_bias():
    model = resnet32_cifar64()
    model = __no_bias(model)
    model = __fixed_eye(model)
    return model
Example #5
0
def resnet32_cifar64_fixed_eye():
    model = resnet32_cifar64()
    model = __fixed_eye(model)
    return model
Example #6
0
def resnet32_cifar10_fixed_eye():
    model = rn32_cf10()
    model = __fixed_eye(model)
    return model