提交 56829093 authored 作者: Daren Eiri's avatar Daren Eiri 提交者: Frederic Bastien

Minor edits to comments

上级 344419ca
......@@ -1387,6 +1387,10 @@ class CLinker(link.Linker):
# parameters from the rest of the key. If you want to add more key
# elements, they should be before this md5 hash if and only if they
# can lead to a different compiled file with the same source code.
# NOTE: config md5 is not using md5 hash, but sha256 instead. Function
# names and string instances of md5 will be updated at a later release.
# See PR#5916 for details.
if insert_config_md5:
sig.append('md5:' + theano.configparser.get_config_md5())
else:
......
......@@ -377,7 +377,7 @@ def is_same_entry(entry_1, entry_2):
def get_module_hash(src_code, key):
"""
Return a SHA256 hash that uniquely identifies a module.
Return a SHA256 (for FIPS compatibility) hash that uniquely identifies a module.
This hash takes into account:
1. The C source code of the module (`src_code`).
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论