提交 ed02ec70 authored 作者: Frederic Bastien's avatar Frederic Bastien

updated comment.

上级 32aa6ece
...@@ -516,9 +516,8 @@ class Function(object): ...@@ -516,9 +516,8 @@ class Function(object):
#TODO: provide a Param option for skipping the filter if we #TODO: provide a Param option for skipping the filter if we
# really want speed. # really want speed.
s = self.input_storage[i] s = self.input_storage[i]
# We special case None as by a mailing list threads, we always # see this emails for a discuation about None as input
# allow None as an input. We let to the op implementation to deal # https://groups.google.com/group/theano-dev/browse_thread/thread/920a5e904e8a8525/4f1b311a28fc27e5
# with that.
if arg is None: if arg is None:
s.storage[0] = arg s.storage[0] = arg
else: else:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论