(dir_path='/tmp/cifar-100-python')
| 46 | |
| 47 | |
| 48 | def load_test_data(dir_path='/tmp/cifar-100-python'): |
| 49 | images, labels = load_dataset(check_dataset_exist(dir_path + "/test")) |
| 50 | return np.array(images, dtype=np.float32), np.array(labels, dtype=np.int32) |
| 51 | |
| 52 | |
| 53 | def check_dataset_exist(dirpath): |
no test coverage detected