Searched refs:file_hash (Results 1 – 13 of 13) sorted by relevance
/external/tensorflow/tensorflow/python/keras/utils/ |
D | data_utils.py | 152 file_hash=None, argument 200 if md5_hash is not None and file_hash is None: 201 file_hash = md5_hash 219 if file_hash is not None: 220 if not validate_file(fpath, file_hash, algorithm=hash_algorithm): 223 ' file hash does not match the original value of ' + file_hash + 302 def validate_file(fpath, file_hash, algorithm='auto', chunk_size=65535): argument 316 if (algorithm == 'sha256') or (algorithm == 'auto' and len(file_hash) == 64): 321 if str(_hash_file(fpath, hasher, chunk_size)) == str(file_hash):
|
D | data_utils_test.py | 68 filepath, origin, file_hash=hashval_sha256, 85 'test', origin, file_hash=hashval_sha256,
|
/external/vixl/tools/ |
D | lint.py | 118 file_hash = hashlib.md5(f.read()).hexdigest() 119 return file_hash != cached_results[filename] 177 file_hash = hashlib.md5(f.read()).hexdigest() 178 cached_results[filename] = file_hash
|
/external/perfetto/tools/ |
D | traceconv | 43 file_hash = hashlib.sha1(fd.read()).hexdigest() 44 return file_hash == sha_value
|
D | heap_profile | 50 file_hash = hashlib.sha1(fd.read()).hexdigest() 51 return file_hash == sha_value
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | cloud_storage_info_unittest.py | 132 def _GetIfHashChangedMock(cs_path, download_path, bucket, file_hash): argument 133 del cs_path, bucket, file_hash 156 def _GetIfHashChangedMock(cs_path, download_path, bucket, file_hash): argument 157 del cs_path, bucket, file_hash
|
/external/tensorflow/tensorflow/python/keras/datasets/ |
D | reuters.py | 82 file_hash='87aedbeb0cb229e378797a632c1997b6') 132 file_hash='4d44cc38712099c9e383dc6e5f11a921')
|
D | imdb.py | 84 file_hash='599dadb1135973df5b59232a0e9a887c') 148 file_hash='bfafd718b763782e994055a2d397834f')
|
D | mnist.py | 49 file_hash='8a61469f7ea1b51cbae51d4f78837e45')
|
D | boston_housing.py | 46 file_hash=
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | cloud_storage.py | 389 def GetIfHashChanged(cs_path, download_path, bucket, file_hash): argument 402 CalculateHash(download_path) == file_hash):
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.keras.utils.pbtxt | 49 …argspec: "args=[\'fname\', \'origin\', \'untar\', \'md5_hash\', \'file_hash\', \'cache_subdir\', \…
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.keras.utils.pbtxt | 49 …argspec: "args=[\'fname\', \'origin\', \'untar\', \'md5_hash\', \'file_hash\', \'cache_subdir\', \…
|