Home
last modified time | relevance | path

Searched refs:_hash_file (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/keras/utils/
Ddata_utils_test.py62 hashval_sha256 = keras.utils.data_utils._hash_file(filepath)
63 hashval_md5 = keras.utils.data_utils._hash_file(filepath, algorithm='md5')
78 hashval_sha256 = keras.utils.data_utils._hash_file(zip_file_path)
79 hashval_md5 = keras.utils.data_utils._hash_file(zip_file_path,
Ddata_utils.py270 def _hash_file(fpath, algorithm='sha256', chunk_size=65535): function
321 if str(_hash_file(fpath, hasher, chunk_size)) == str(file_hash):