提交 c0c60838 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

typos

上级 e7732cfc
......@@ -296,7 +296,7 @@ class PushOutNonSeqScan(gof.Optimizer):
# We need to add one extra dimension to the outputs
# because the scan op expects for a tensor3, to which an
# subtensor is apllied that takes only the last element
# subtensor is applied that takes only the last element
if replace_with:
fgraph.replace_all_validate_remove(
replace_with.items(),
......@@ -1372,8 +1372,8 @@ def scan_merge_inouts(node):
else:
shapes.append(x.shape[0])
else:
# If x is a scalar, than it means its value is the number of
# items scan is suppose to store for this nit_sot sequence
# If x is a scalar, then it means its value is the number of
# items scan is supposed to store for this nit_sot sequence
shapes.append(x)
tmp = [map_nitsot_out(i, o, sh, seen)
for i, o, sh in zip(na.inner_out_nit_sot,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论