提交 0efa9077 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Minor typo fixes

上级 d451f951
...@@ -444,8 +444,8 @@ signature: ...@@ -444,8 +444,8 @@ signature:
.. note:: .. note::
Not providing the `infer_shape` method cause shapes-related Not providing the `infer_shape` method prevents shape-related
optimization to not work with that op. For example optimizations from working with this op. For example
`your_op(inputs, ...).shape` will need the op to be executed just `your_op(inputs, ...).shape` will need the op to be executed just
to get the shape. to get the shape.
...@@ -456,7 +456,7 @@ signature: ...@@ -456,7 +456,7 @@ signature:
.. note:: .. note::
It converts the python function to a callable object that takes as It converts the Python function to a callable object that takes as
inputs Theano variables that were declared. inputs Theano variables that were declared.
......
...@@ -11,6 +11,6 @@ tutorials/exercises if you need to learn it or only need a refresher: ...@@ -11,6 +11,6 @@ tutorials/exercises if you need to learn it or only need a refresher:
* `Python Challenge <http://www.pythonchallenge.com/>`__ * `Python Challenge <http://www.pythonchallenge.com/>`__
* `Dive into Python <http://diveintopython.net/>`__ * `Dive into Python <http://diveintopython.net/>`__
* `Google Python Class <http://code.google.com/edu/languages/google-python-class/index.html>`__ * `Google Python Class <http://code.google.com/edu/languages/google-python-class/index.html>`__
* `Enthought python course <https://training.enthought.com/?utm_source=academic&utm_medium=email&utm_campaign=EToD-Launch#/courses>`__ (free for academics) * `Enthought Python course <https://training.enthought.com/?utm_source=academic&utm_medium=email&utm_campaign=EToD-Launch#/courses>`__ (free for academics)
We have a tutorial on how :ref:`Python manages its memory <python-memory-management>`. We have a tutorial on how :ref:`Python manages its memory <python-memory-management>`.
...@@ -52,7 +52,7 @@ class CudaNdarrayConstant(_operators, Constant): ...@@ -52,7 +52,7 @@ class CudaNdarrayConstant(_operators, Constant):
try: try:
data = str(numpy.asarray(self.data)) data = str(numpy.asarray(self.data))
except Exception, e: except Exception, e:
data = "error while transfering the value:" + str(e) data = "error while transferring the value: " + str(e)
return "CudaNdarrayConstant{"+data+"}" return "CudaNdarrayConstant{"+data+"}"
CudaNdarrayType.Constant = CudaNdarrayConstant CudaNdarrayType.Constant = CudaNdarrayConstant
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论