提交 c8038f9a authored 作者: lamblin's avatar lamblin

Merge pull request #1479 from nouiz/doc

Doc
......@@ -161,14 +161,22 @@ Ubuntu 11.10/12.04 (probably work on 11.04 too):
Then you need to fetch latest CUDA tool kit (download ubuntu 11.04 32/64bit package)
from `here <http://developer.nvidia.com/cuda-downloads>`_.
Then you install it like this:
For the `run` installed (the only one available for CUDA 5.0 and older), you install it like this:
.. code-block:: bash
chmod a+x XXX.sh
sudo ./XXX.sh
You probably need to change the default version of gcc as
Since CUDA 5.5, Nvidia provide a DEB package. If you don't know how to
intall it, just double click on it from the graphical interface. It
should ask if you want to install it.
You must reboot the computer after the driver installation. To test
that it was loaded correctly after the reboot, run the command
`nvidia-smi` from the command line.
You probably need to change the default version of gcc as
`explained by Benjamin J. McCann <http://www.benmccann.com/blog/installing-cuda-and-theano/>`_:
......
......@@ -579,6 +579,10 @@ dimensions, see :meth:`_tensor_py_operators.dimshuffle`.
have shape (2, 60).
Creating Tensor
===============
.. function:: zeros_like(x)
:param x: tensor that has same shape as output
......@@ -930,11 +934,11 @@ development version to have this feature now.
Index-assignment is *not* supported. If you want to do something like ``a[5]
= b`` or ``a[5]+=b``, see :func:`set_subtensor` and :func:`inc_subtensor` below.
= b`` or ``a[5]+=b``, see :func:`theano.tensor.set_subtensor` and :func:`theano.tensor.inc_subtensor` below.
.. autofunction:: theano.tensor.basic.set_subtensor
.. autofunction:: theano.tensor.set_subtensor
.. autofunction:: theano.tensor.basic.inc_subtensor
.. autofunction:: theano.tensor.inc_subtensor
.. _tensor_operator_support:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论