7f0558f6c7cba90e69c5760106ed10d551501e49,tensorflow_datasets/core/file_format_adapter_test.py,DummyTFRecordBuilder,_dataset_split_generators,#DummyTFRecordBuilder#,33
Before Change
for i in range(30, 40):
yield {"x": i, "y": -i, "z": tf.compat.as_text(str(i))}
return [
(zero_to_thirty,
[self._split_files(split=dataset_builder.Split.TRAIN, num_shards=2),
self._split_files(split=dataset_builder.Split.VALIDATION,
num_shards=1)]),
(thirty_to_forty,
[self._split_files(split=dataset_builder.Split.TEST, num_shards=1)]),
]
@property
def _file_format_adapter(self):
example_spec = {
After Change
self._split_files(split=dataset_builder.Split.TEST, num_shards=1)
]
return [
dataset_builder.SplitGenerator(generator_fn=zero_to_thirty,
split_files=zero_to_thirty_splits),
dataset_builder.SplitGenerator(generator_fn=thirty_to_forty,
split_files=thirty_to_forty_splits),
]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: tensorflow/datasets
Commit Name: 7f0558f6c7cba90e69c5760106ed10d551501e49
Time: 2018-09-27
Author: rsepassi@google.com
File Name: tensorflow_datasets/core/file_format_adapter_test.py
Class Name: DummyTFRecordBuilder
Method Name: _dataset_split_generators
Project Name: tensorflow/datasets
Commit Name: ecf2583ed663faa52da43a058189c799392e6502
Time: 2019-04-01
Author: navinmohan81@gmail.com
File Name: tensorflow_datasets/image/scene_parse_150.py
Class Name: SceneParse150
Method Name: _split_generators
Project Name: tensorflow/datasets
Commit Name: aeb1206db0884104edd4a07cfa528705dce6f699
Time: 2020-07-28
Author: shlens@google.com
File Name: tensorflow_datasets/image_classification/imagenet.py
Class Name: Imagenet2012
Method Name: _split_generators