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)
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)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: keras-team/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: keras-team/autokeras
Commit Name: 074d16ac217b9cddc04d093d019c61e393522eb5
Time: 2017-12-30
Author: jhfjhfj1@gmail.com
File Name: autokeras/net_transformer.py
Class Name:
Method Name: copy_conv_model
Project Name: keras-team/autokeras
Commit Name: 074d16ac217b9cddc04d093d019c61e393522eb5
Time: 2017-12-30
Author: jhfjhfj1@gmail.com
File Name: autokeras/net_transformer.py
Class Name:
Method Name: to_wider_dense_model