Skip to content

Commit 018322b

Browse files
Conchylicultorcopybara-github
authored andcommitted
Move fake data generation script to a separate folder
PiperOrigin-RevId: 303150541
1 parent 32415bb commit 018322b

38 files changed

+2
-2
lines changed

docs/add_dataset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ The test data should be put in
599599
under the `my_dataset` directory and should mimic the source dataset artifacts
600600
as downloaded and extracted. It can be created manually or automatically with a
601601
script
602-
([example script](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/testing/cifar.py)).
602+
([example script](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/testing/fake_data_generation/cifar.py)).
603603

604604
If you're using automation to generate the test data, please include that script
605605
in [`testing`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/testing).

tensorflow_datasets/testing/smallnorb_test.py renamed to tensorflow_datasets/testing/fake_data_generation/smallnorb_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
from absl.testing import parameterized
2525
import numpy as np
2626
from tensorflow_datasets.image import smallnorb as smallnorb_tfds
27-
from tensorflow_datasets.testing import smallnorb as smallnorb_builder
2827
from tensorflow_datasets.testing import test_utils
28+
from tensorflow_datasets.testing.fake_data_generation import smallnorb as smallnorb_builder
2929

3030

3131
class SmallnorbTest(parameterized.TestCase):

0 commit comments

Comments
 (0)