bfeab59160b5676b0a1a613181dc759a5be4a2e2,official/core/input_reader.py,InputReader,read,#InputReader#,220
Before Change
elif self._num_files > 1:
dataset = self._read_sharded_files(input_context)
else:
assert self._num_files == 1
dataset = self._read_single_file(input_context)
if self._cache:
dataset = dataset.cache()
After Change
dataset = self._read_tfds(input_context)
elif len(self._matched_files) > 1:
dataset = self._read_sharded_files(input_context)
elif len(self._matched_files) == 1:
dataset = self._read_single_file(input_context)
else:
raise ValueError("It is unexpected that `tfds_builder` is None and "
"there is also no `matched_files`.")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: tensorflow/models
Commit Name: bfeab59160b5676b0a1a613181dc759a5be4a2e2
Time: 2020-09-15
Author: chendouble@google.com
File Name: official/core/input_reader.py
Class Name: InputReader
Method Name: read
Project Name: arogozhnikov/einops
Commit Name: 680f4831e6c8f3102be8d99056b746b48ce34051
Time: 2018-09-27
Author: iamfullofspam@gmail.com
File Name: einops.py
Class Name: TransformRecipe
Method Name: reconstruct_from_shape
Project Name: arogozhnikov/einops
Commit Name: 680f4831e6c8f3102be8d99056b746b48ce34051
Time: 2018-09-27
Author: iamfullofspam@gmail.com
File Name: einops.py
Class Name:
Method Name: reduce