d4ede9da4c0ccda38a4257f1c6d4bac0be1e2040,tensorflow_datasets/scripts/cli/build.py,,_build_datasets,#Any#,35
Before Change
def _build_datasets(args: argparse.Namespace) -> None:
Build the given datasets.
raise NotImplementedError("tfds build not supported yet (/).")
After Change
// Select datasets to generate
datasets = (args.datasets or []) + (args.datasets_keyword or [])
if args.exclude_datasets: // Generate all datasets if `--exclude_datasets` set
if datasets:
raise ValueError("--exclude_datasets can\"t be used with `datasets`")
datasets = set(tfds.list_builders()) - set(args.exclude_datasets.split(","))
else:
datasets = datasets or [""] // Empty string for default
if len(datasets) > 1 and args.builder_config_id is not None:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: tensorflow/datasets
Commit Name: d4ede9da4c0ccda38a4257f1c6d4bac0be1e2040
Time: 2020-11-10
Author: epot@google.com
File Name: tensorflow_datasets/scripts/cli/build.py
Class Name:
Method Name: _build_datasets
Project Name: tensorflow/tensorflow
Commit Name: b99fce7f255e1982bf5e8d14684c7c90c05675e9
Time: 2021-05-10
Author: fengliuai@google.com
File Name: tensorflow/compiler/mlir/tfr/python/tfr_gen.py
Class Name: TFRTypeResolver
Method Name: res_slice
Project Name: thenetcircle/dino
Commit Name: 09a40c1067316bc3831c7340c36b56797d6d183d
Time: 2016-10-06
Author: oscar.eriks@gmail.com
File Name: dino/storage/cassandra.py
Class Name: CassandraStorage
Method Name: room_name_exists