提交 c282d072 authored 作者: carriepl's avatar carriepl

Merge pull request #3869 from kmike/remove-scan-warning

scan: remove unconditional warning when strict=True is used
......@@ -1014,9 +1014,6 @@ def scan(fn,
info['profile'] = profile
info['allow_gc'] = allow_gc
info['strict'] = strict
if strict:
warnings.warn('In the strict mode, all neccessary shared variables '
'must be passed as a part of non_sequences', Warning)
local_op = scan_op.Scan(inner_inputs, new_outs, info)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论