880c3f3e2ae7c361f7475a3dfcdf352df71239ca,deeppavlov/models/evolution/evolution_many_inputs_model.py,KerasEvolutionClassificationManyInputsModel,initialize_all_nodes,#KerasEvolutionClassificationManyInputsModel#Any#,216

Before Change


                    node_params.pop("node_name")
                    node_params.pop("node_type")
                    node_params.pop("node_layer")
                    model_layers[params["nodes"][node_str_id]] = Dropout(rate=params["dropout_rate"])(
                        multiplicative_self_attention_init(**node_params))
                else:
                    node_func = globals().get(params[params["nodes"][node_str_id]]["node_name"], None)
                    node_params = deepcopy(params[params["nodes"][node_str_id]])

After Change


                    node_params.pop("node_name")
                    node_params.pop("node_type")
                    node_params.pop("node_layer")
                    model_layers[params["nodes"][node_str_id]] = multiplicative_self_attention_init(**node_params)
                else:
                    node_func = globals().get(params[params["nodes"][node_str_id]]["node_name"], None)
                    node_params = deepcopy(params[params["nodes"][node_str_id]])
                    node_params.pop("node_name")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: deepmipt/DeepPavlov
Commit Name: 880c3f3e2ae7c361f7475a3dfcdf352df71239ca
Time: 2018-06-26
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_many_inputs_model.py
Class Name: KerasEvolutionClassificationManyInputsModel
Method Name: initialize_all_nodes


Project Name: deepmipt/DeepPavlov
Commit Name: cd34443cc5e355bf6b0b7d28a6fd530830a3bfa3
Time: 2018-06-08
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_many_inputs_model.py
Class Name: KerasEvolutionClassificationManyInputsModel
Method Name: initialize_all_nodes


Project Name: deepmipt/DeepPavlov
Commit Name: 37e19f1900e5aeccab2ded15d4be54ba53000d06
Time: 2018-06-26
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_many_inputs_model.py
Class Name: KerasEvolutionClassificationManyInputsModel
Method Name: initialize_all_nodes


Project Name: deepmipt/DeepPavlov
Commit Name: 1059f91b098219af02ac8f85cd93df7c7ea2535b
Time: 2018-06-07
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_many_inputs_model.py
Class Name: KerasEvolutionClassificationManyInputsModel
Method Name: initialize_all_nodes