Home
last modified time | relevance | path

Searched refs:file_hash (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/python/keras/utils/
Ddata_utils.py152 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):
Ddata_utils_test.py68 filepath, origin, file_hash=hashval_sha256,
85 'test', origin, file_hash=hashval_sha256,
/external/vixl/tools/
Dlint.py118 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/
Dtraceconv43 file_hash = hashlib.sha1(fd.read()).hexdigest()
44 return file_hash == sha_value
Dheap_profile50 file_hash = hashlib.sha1(fd.read()).hexdigest()
51 return file_hash == sha_value
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dcloud_storage_info_unittest.py132 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/
Dreuters.py82 file_hash='87aedbeb0cb229e378797a632c1997b6')
132 file_hash='4d44cc38712099c9e383dc6e5f11a921')
Dimdb.py84 file_hash='599dadb1135973df5b59232a0e9a887c')
148 file_hash='bfafd718b763782e994055a2d397834f')
Dmnist.py49 file_hash='8a61469f7ea1b51cbae51d4f78837e45')
Dboston_housing.py46 file_hash=
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dcloud_storage.py389 def GetIfHashChanged(cs_path, download_path, bucket, file_hash): argument
402 CalculateHash(download_path) == file_hash):
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.utils.pbtxt49 …argspec: "args=[\'fname\', \'origin\', \'untar\', \'md5_hash\', \'file_hash\', \'cache_subdir\', \…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.utils.pbtxt49 …argspec: "args=[\'fname\', \'origin\', \'untar\', \'md5_hash\', \'file_hash\', \'cache_subdir\', \…