提交 313cd7b9 authored 作者: Rémi Louf's avatar Rémi Louf 提交者: Brandon T. Willard

Remove the `scan` warning for n_steps=1

上级 a73ac95c
......@@ -741,16 +741,6 @@ def scan(
##
if n_fixed_steps in (1, -1):
# We do not need to use the scan op anymore, so we can just return
# the outputs and updates we have
if condition is not None:
_logger.warning(
(
"When the number of steps is fixed and equal "
f"to 1, the provided stopping condition, {condition} is ignored"
)
)
for pos, inner_out in enumerate(outputs):
# we need to see if we need to pad our sequences with an
# unbroadcastable dimension; case example : we return an
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论