6f36525c5da0fe912c89790a51b9ea9e7cc3d110,tensorflow_datasets/scripts/benchmark_dataset.py,,main,#Any#,40
Before Change
ds_name = FLAGS.dataset
data_dir = FLAGS.data_dir
epochs = FLAGS.epochs
benchmark(ds_name, data_dir, epochs)
if __name__ == "__main__":
app.run(main)
After Change
ds = _preprocess(ds_name, data_dir)
for split in ds:
print("Benchmarking split:", split)
print("\n")
benchmark(ds[split], epochs)
if __name__ == "__main__":
app.run(main)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: tensorflow/datasets
Commit Name: 6f36525c5da0fe912c89790a51b9ea9e7cc3d110
Time: 2020-06-17
Author: cs17btech11040@iith.ac.in
File Name: tensorflow_datasets/scripts/benchmark_dataset.py
Class Name:
Method Name: main
Project Name: tensorflow/datasets
Commit Name: 4a64b2963ab7f0d49ea399677834a2a867b753e4
Time: 2020-06-18
Author: cs17btech11040@iith.ac.in
File Name: tensorflow_datasets/scripts/benchmark_dataset.py
Class Name:
Method Name: main
Project Name: osmr/imgclsmob
Commit Name: a7c8968e39c1593a91be1495ac834891e7ff4167
Time: 2019-10-29
Author: osemery@gmail.com
File Name: sotabench.py
Class Name:
Method Name: