074d16ac217b9cddc04d093d019c61e393522eb5,autokeras/net_transformer.py,,to_deeper_dense_model,#Any#Any#,68

Before Change




def to_deeper_dense_model(model, level):
    new_deeper_layer_list = dense_to_deeper_layer(model.layers[level])
    return insert_layer(model, level, new_deeper_layer_list)


def to_wider_dense_model(model, level):
    next_wider_layer, ind = get_next_dense_conv(level, model.layers)

After Change



def to_deeper_dense_model(model, target):
    graph = Graph(model)
    return graph.to_dense_deeper_model(target, randint(1, 2) * 2 + 1)


def to_wider_dense_model(model, target):
    graph = Graph(model)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: jhfjhfj1/autokeras
Commit Name: 074d16ac217b9cddc04d093d019c61e393522eb5
Time: 2017-12-30
Author: jhfjhfj1@gmail.com
File Name: autokeras/net_transformer.py
Class Name:
Method Name: to_deeper_dense_model


Project Name: NTMC-Community/MatchZoo
Commit Name: f86845f808a9004dec69a2e070cb7fbb99252a14
Time: 2019-01-11
Author: fanyixing111@hotmail.com
File Name: tests/unit_test/models/test_models.py
Class Name:
Method Name: x