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.py61 hashval_sha256 = keras.utils.data_utils._hash_file(filepath)
62 hashval_md5 = keras.utils.data_utils._hash_file(filepath, algorithm='md5')
77 hashval_sha256 = keras.utils.data_utils._hash_file(zip_file_path)
78 hashval_md5 = keras.utils.data_utils._hash_file(zip_file_path,
Ddata_utils.py308 def _hash_file(fpath, algorithm='sha256', chunk_size=65535): function
358 if str(_hash_file(fpath, hasher, chunk_size)) == str(file_hash):