10005355922be53768b03c8199674e37f9ece772,dataset/models/tf/squeezenet.py,SqueezeNet,build_config,#SqueezeNet#Any#,50

Before Change



    def build_config(self, names=None):
        config = super().build_config(names)
        config["head"]["filters"] = self.num_classes("targets")
        return config

    @classmethod
    def body(cls, inputs, name="body", **kwargs):

After Change


        return config

    def build_config(self, names=None):
        config = super().build_config(names)
        if config.get("head/units") is None:
            config["head/units"] = self.num_classes("targets")
        if config.get("head/filters") is None:
            config["head/filters"] = self.num_classes("targets")
        return config

    @classmethod
    def body(cls, inputs, name="body", **kwargs):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 14

Instances


Project Name: analysiscenter/batchflow
Commit Name: 10005355922be53768b03c8199674e37f9ece772
Time: 2018-04-26
Author: rhudor@gmail.com
File Name: dataset/models/tf/squeezenet.py
Class Name: SqueezeNet
Method Name: build_config


Project Name: analysiscenter/batchflow
Commit Name: 10005355922be53768b03c8199674e37f9ece772
Time: 2018-04-26
Author: rhudor@gmail.com
File Name: dataset/models/tf/resnet.py
Class Name: ResNet
Method Name: build_config


Project Name: analysiscenter/batchflow
Commit Name: 10005355922be53768b03c8199674e37f9ece772
Time: 2018-04-26
Author: rhudor@gmail.com
File Name: dataset/models/tf/inception_v1.py
Class Name: Inception_v1
Method Name: build_config


Project Name: analysiscenter/batchflow
Commit Name: 10005355922be53768b03c8199674e37f9ece772
Time: 2018-04-26
Author: rhudor@gmail.com
File Name: dataset/models/tf/inception_v4.py
Class Name: Inception_v4
Method Name: build_config


Project Name: analysiscenter/batchflow
Commit Name: 10005355922be53768b03c8199674e37f9ece772
Time: 2018-04-26
Author: rhudor@gmail.com
File Name: dataset/models/tf/inception_resnet_v2.py
Class Name: InceptionResNet_v2
Method Name: build_config


Project Name: analysiscenter/batchflow
Commit Name: 10005355922be53768b03c8199674e37f9ece772
Time: 2018-04-26
Author: rhudor@gmail.com
File Name: dataset/models/tf/inception_v3.py
Class Name: Inception_v3
Method Name: build_config