提交 09abf1f0 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Fixed a few typos

上级 1ea24b64
......@@ -52,8 +52,8 @@ AddConfigVar('DebugMode.check_strides',
in_c_key=False)
AddConfigVar('DebugMode.warn_input_not_reused',
("Generate a warning when the destroy_map or view_map tell that an"
" op work inplace, but the op did not reuse the input for its output."
("Generate a warning when destroy_map or view_map says that an "
"op works inplace, but the op did not reuse the input for its output."
),
BoolParam(True),
in_c_key=False)
......
......@@ -884,9 +884,9 @@ class CLinker(link.Linker):
# into the signature.
sig = ['CLinker.cmodule_key'] # will be cast to tuple on return
if compile_args is not None:
# We must sort it as the order from a set are not guarantee.
# We must sort it as the order from a set is not guaranteed.
# In particular, 2 sets with the same content can give different
# order depending in the order you put data in it.
# order depending on the order you put data in it.
# Sets are used to remove duplicate elements.
args = sorted(compile_args)
args = tuple(args)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论