Searched refs:_hash_file (Results 1 – 2 of 2) sorted by relevance
62 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,
270 def _hash_file(fpath, algorithm='sha256', chunk_size=65535): function321 if str(_hash_file(fpath, hasher, chunk_size)) == str(file_hash):