9a062c6473109dfdd545d1db84f62b5037c53128,snntoolbox/model_libs/caffe_input_lib.py,ModelParser,get_outbound_layers,#ModelParser#Any#,124

Before Change


        layers = self.get_layer_iterable()
        outbound = []
        for outb in layer.top:  // Contains only labels
            for layer in layers:
                if outb == layer.name:
                    outbound.append(layer)
                    break
        return outbound

    def parse_concatenate(self, layer, attributes):
        attributes.update({"mode": "concat",

After Change



    def get_outbound_layers(self, layer):
        layers = self.get_layer_iterable()
        layer_ids = [id(l) for l in layers]
        current_idx = layer_ids.index(id(layer))
        return [] if current_idx + 1 >= len(layer_ids) \
            else [layers[current_idx + 1]]

    def parse_concatenate(self, layer, attributes):
        attributes.update({"mode": "concat",
                           "concat_axis": layer.concat_param.axis})
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 9a062c6473109dfdd545d1db84f62b5037c53128
Time: 2017-06-13
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/model_libs/caffe_input_lib.py
Class Name: ModelParser
Method Name: get_outbound_layers


Project Name: prody/ProDy
Commit Name: bb958949caaba2341ae5662c484d5106d68e4aed
Time: 2019-04-15
Author: hongchun@pitt.edu
File Name: prody/ensemble/functions.py
Class Name:
Method Name: refineEnsemble


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 9a062c6473109dfdd545d1db84f62b5037c53128
Time: 2017-06-13
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/model_libs/caffe_input_lib.py
Class Name: ModelParser
Method Name: get_outbound_layers


Project Name: prody/ProDy
Commit Name: 54a02c7a3ca3cce7e62f92e0a27244d27f8d9e83
Time: 2019-02-08
Author: hongchun@pitt.edu
File Name: prody/ensemble/functions.py
Class Name:
Method Name: refineEnsemble