提交 ad8c6ef9 authored 作者: dareneiri's avatar dareneiri 提交者: Frederic Bastien

More fixes to comments

上级 56829093
...@@ -1236,8 +1236,8 @@ class CLinker(link.Linker): ...@@ -1236,8 +1236,8 @@ class CLinker(link.Linker):
(opK, input_signatureK, output_signatureK), (opK, input_signatureK, output_signatureK),
}}} }}}
Note that config md5 uses sha256, and not md5. Function names will Note that config md5 uses sha256, and not md5. Function names will
updated in a future release to reflect the use of hashlib.sha256. updated in a future release to reflect the use of hashlib.sha256.
The signature is a tuple, some elements of which are sub-tuples. The signature is a tuple, some elements of which are sub-tuples.
...@@ -1379,18 +1379,14 @@ class CLinker(link.Linker): ...@@ -1379,18 +1379,14 @@ class CLinker(link.Linker):
if c_compiler: if c_compiler:
sig.append('c_compiler_str=' + c_compiler.version_str()) sig.append('c_compiler_str=' + c_compiler.version_str())
# 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.
# IMPORTANT: The 'md5' prefix is used to isolate the compilation # IMPORTANT: The 'md5' prefix is used to isolate the compilation
# parameters from the rest of the key. If you want to add more key # 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 # 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. # can lead to a different compiled file with the same source code.
# NOTE: config md5 is not using md5 hash, but sha256 instead. Function # 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. # names and string instances of md5 will be updated at a later release.
# See PR#5916 for details. # See PR#5916 for details.
if insert_config_md5: if insert_config_md5:
sig.append('md5:' + theano.configparser.get_config_md5()) sig.append('md5:' + theano.configparser.get_config_md5())
else: else:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论