eb8b70c825ef3e02818cbfa95c0f8a9ec4184275,theanolm/network.py,Network,__init__,#Network#Any#Any#Any#Any#,168

Before Change


            elif layer_description["output"] == "-":
                output_size = sum([ x.output_size for x in inputs ])
            else:
                output_size = int(layer_description["output"])
            self.layers[layer_name] = create_layer(layer_type,
                                                   layer_name,
                                                   inputs,
                                                   output_size,

After Change


        self.layers = OrderedDict()
        self.layers["X"] = self.network_input
        for layer_description in architecture.layers:
            layer_options = dict()
            for variable, value in layer_description.items():
                if variable == "inputs":
                    layer_options["input_layers"] = \
                        [ self.layers[x] for x in value ]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: senarvi/theanolm
Commit Name: eb8b70c825ef3e02818cbfa95c0f8a9ec4184275
Time: 2015-12-25
Author: seppo.git@marjaniemi.com
File Name: theanolm/network.py
Class Name: Network
Method Name: __init__


Project Name: 10XGenomics/cellranger
Commit Name: 8b9ffbfdec1a9b6daf7b47f63fc2656e3e267c25
Time: 2019-02-20
Author: nlhepler@gmail.com
File Name: mro/stages/aggregator/check_molecule_info_version/__init__.py
Class Name:
Method Name: split


Project Name: okfn-brasil/serenata-de-amor
Commit Name: ed82e27fef3c21f0d86e0e8efdc923f527da37ae
Time: 2017-05-11
Author: cuducos@users.noreply.github.com
File Name: jarbas/core/management/commands/irregularities.py
Class Name: Command
Method Name: serialize


Project Name: thoughtworksarts/EmoPy
Commit Name: 8011664162ca0ddbfc551900fefbc623d6cae61f
Time: 2018-01-25
Author: aperez@thoughtworks.com
File Name: dataloader.py
Class Name: DataLoader
Method Name: _get_data_from_csv