提交 c65bd3b2 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Typo fixes / grammar improvements

上级 a843010a
......@@ -20,11 +20,13 @@ since 2007. But it is also approachable enough to be used in the classroom
News
====
* New technical report on Theano: `Theano: new features and speed improvements <http://arxiv.org/abs/1211.5590>`_. Please cite the other paper below.
* New technical report on Theano: `Theano: new features and speed improvements <http://arxiv.org/abs/1211.5590>`_.
However, please keep citing the other paper below in scientific work involving Theano.
* Theano 0.6rc2 was released. Everybody is encouraged to update.
* `HPCS 2011 Tutorial <http://www.iro.umontreal.ca/~lisa/pointeurs/tutorial_hpcs2011_fixed.pdf>`_. I included a few fix discovered while doing the Tutorial.
* `HPCS 2011 Tutorial <http://www.iro.umontreal.ca/~lisa/pointeurs/tutorial_hpcs2011_fixed.pdf>`_.
We included a few fixes discovered while doing the Tutorial.
.. image:: images/talk2010.png
:scale: 75%
......
......@@ -168,18 +168,18 @@ def function(inputs, outputs=None, mode=None, updates=None, givens=None,
not isinstance(updates, gof.python25.OrderedDict):
warnings.warn(
"The parameter 'updates' of theano.function()"
" expect an OrderedDict,"
" got " + str(type(updates)) + "Using "
" expects an OrderedDict,"
" got " + str(type(updates)) + ". Using "
"a standard dictionary here results in "
"non-deterministic behavior. You should use an OrderedDict"
" if you are using python2.7 or use a list of (shared, update)"
" if you are using Python 2.7, or use a list of (shared, update)"
" pairs. Do not just convert your dictionary to this type before"
" the call as the conversion will still be non-deterministic.")
if givens is None:
givens = []
if not isinstance(inputs, (list, tuple)):
raise Exception("Inputs variable of a Theano function should be"
raise Exception("Input variables of a Theano function should be"
" contained in a list, even when there is a single input.")
# compute some features of the arguments:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论