a33f747920882f6cd857bbdb50050ea360a6f366,tests/integration_tests/io_api_test.py,,test_io_api,#Any#,23
Before Change
def test_io_api(tmp_path):
num_instances = 20
(image_x, train_y), (test_x, test_y) = mnist.load_data()
text_x = utils.generate_text_data(num_instances=num_instances)
image_x = image_x[:num_instances]
structured_data_x = (
After Change
def test_io_api(tmp_path):
num_instances = 20
image_x = utils.generate_data(num_instances=num_instances, shape=(28, 28))
text_x = utils.generate_text_data(num_instances=num_instances)
image_x = image_x[:num_instances]
structured_data_x = (
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances
Project Name: jhfjhfj1/autokeras
Commit Name: a33f747920882f6cd857bbdb50050ea360a6f366
Time: 2020-11-19
Author: jhfjhfj1@gmail.com
File Name: tests/integration_tests/io_api_test.py
Class Name:
Method Name: test_io_api
Project Name: jhfjhfj1/autokeras
Commit Name: a33f747920882f6cd857bbdb50050ea360a6f366
Time: 2020-11-19
Author: jhfjhfj1@gmail.com
File Name: tests/integration_tests/functional_api_test.py
Class Name:
Method Name: test_image_blocks