提交 2ddb82a9 authored 作者: ChienliMa's avatar ChienliMa

Fix typos

上级 35f96435
......@@ -580,7 +580,7 @@ class Function(object):
2. same shape or dim?
"""
assert sv_ori.type == sv_rpl.type, (
"Type of given SharedVariable conflicts with origianl one",
"Type of given SharedVariable conflicts with original one",
"Type of given SharedVariable:", sv_rpl.type,
"Type of original SharedVariable:", sv_ori.type)
......@@ -592,7 +592,7 @@ class Function(object):
# Delete update output in fgraph and updates In instances if needed
if delete_updates:
# The first len(maker.outputs) variabels are original variables.
# The first len(maker.outputs) variables are original variables.
# The rest are the updates.
out_vars = maker.fgraph.outputs[:len(maker.outputs)]
else:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论