ls_mlkit.util.hash module¶
- ls_mlkit.util.hash.save_hash_to_file(model, data=None, algorithm=None, filename='hash.txt')[source]¶
Save the hash of a model, data and algorithm to a file
- Parameters:
model (_type_) – the model to save the hash
data (_type_, optional) – the data to save the hash. Defaults to None.
algorithm (_type_, optional) – the algorithm to save the hash. Defaults to None.
filename (str, optional) – the name of the file to save the hash. Defaults to “hash.txt”.