提交 861fea2a authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Typo fixes

上级 b295f0dc
...@@ -249,7 +249,7 @@ import theano and print the config variable, as in: ...@@ -249,7 +249,7 @@ import theano and print the config variable, as in:
Default: 'warn' Default: 'warn'
When an exception is raised when infering the shape of some apply When an exception is raised when inferring the shape of some apply
node, either warn the user and use a default value ('warn'), or node, either warn the user and use a default value ('warn'), or
raise the exception ('raise'). raise the exception ('raise').
......
...@@ -377,9 +377,9 @@ class ScanSaveMem(gof.Optimizer): ...@@ -377,9 +377,9 @@ class ScanSaveMem(gof.Optimizer):
if hasattr(env, 'shape_feature'): if hasattr(env, 'shape_feature'):
shape_of = node.env.shape_feature.shape_of shape_of = node.env.shape_feature.shape_of
else: else:
# Each call site of shape_of is in a try..except # Each access to shape_of is in a try..except block in order to
# That use a default version when the variable is not # use a default version when the variable is not in the shape_of
# in the dictionary # dictionary.
shape_of = {} shape_of = {}
# 1. Initialization of variables # 1. Initialization of variables
# Note 1) We do not actually care about outputs representing shared # Note 1) We do not actually care about outputs representing shared
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论