effd83fd33c6719d09634cb6a056e9c9054fc492,tests/test_classifier.py,,simple_transform,#,32
Before Change
def simple_transform(_):
generator = RandomConvClassifierGenerator(input_shape=(2, 1), n_classes=2)
return [generator.generate(), generator.generate()]
@patch("autokeras.search.transform", side_effect=simple_transform)
After Change
def simple_transform(_):
generator = RandomConvClassifierGenerator(input_shape=(2, 1), n_classes=2)
return [Graph(generator.generate()), Graph(generator.generate())]
@patch("autokeras.search.transform", side_effect=simple_transform)
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 3
Instances
Project Name: keras-team/autokeras
Commit Name: effd83fd33c6719d09634cb6a056e9c9054fc492
Time: 2018-03-13
Author: jhfjhfj1@gmail.com
File Name: tests/test_classifier.py
Class Name:
Method Name: simple_transform
Project Name: keras-team/autokeras
Commit Name: effd83fd33c6719d09634cb6a056e9c9054fc492
Time: 2018-03-13
Author: jhfjhfj1@gmail.com
File Name: tests/test_classifier.py
Class Name:
Method Name: simple_transform2
Project Name: keras-team/autokeras
Commit Name: effd83fd33c6719d09634cb6a056e9c9054fc492
Time: 2018-03-13
Author: jhfjhfj1@gmail.com
File Name: tests/test_search.py
Class Name:
Method Name: simple_transform