1528c46499cdcff669b5d7c006b7b971884ad0e6,scripts/tf_cnn_benchmarks/preprocessing.py,Cifar10ImagePreprocessor,preprocess,#Cifar10ImagePreprocessor#Any#,638
Before Change
image = self._distort_image(raw_image)
else:
image = self._eval_image(raw_image)
return normalized_image(image)
def minibatch(self, dataset, subset, use_datasets, cache_data,
shift_ratio=-1):
// TODO(jsimsa): Implement datasets code path
After Change
image = self._distort_image(raw_image)
else:
image = self._eval_image(raw_image)
normalized = normalized_image(image)
return tf.cast(normalized, self.dtype)
def minibatch(self, dataset, subset, use_datasets, cache_data,
shift_ratio=-1):
// TODO(jsimsa): Implement datasets code path
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: tensorflow/benchmarks
Commit Name: 1528c46499cdcff669b5d7c006b7b971884ad0e6
Time: 2018-03-20
Author: zhengxq@google.com
File Name: scripts/tf_cnn_benchmarks/preprocessing.py
Class Name: Cifar10ImagePreprocessor
Method Name: preprocess
Project Name: tensorflow/benchmarks
Commit Name: 1528c46499cdcff669b5d7c006b7b971884ad0e6
Time: 2018-03-20
Author: zhengxq@google.com
File Name: scripts/tf_cnn_benchmarks/preprocessing.py
Class Name: RecordInputImagePreprocessor
Method Name: preprocess
Project Name: tensorflow/benchmarks
Commit Name: 1528c46499cdcff669b5d7c006b7b971884ad0e6
Time: 2018-03-20
Author: zhengxq@google.com
File Name: scripts/tf_cnn_benchmarks/preprocessing.py
Class Name: TestImagePreprocessor
Method Name: minibatch