()
| 31 | |
| 32 | |
| 33 | def test_CenterCrop(): |
| 34 | t = CenterCrop(output_size=CenterCrop_size) |
| 35 | aug_data = t.apply_batch(generate_data()) |
| 36 | aug_data_shape = [(a.shape, b.shape) for a, b in aug_data] |
| 37 | target_shape = [(CenterCrop_target_shape, label_shape)] * 4 |
| 38 | assert aug_data_shape == target_shape |
| 39 | |
| 40 | |
| 41 | def test_ColorJitter(): |
nothing calls this directly
no test coverage detected