提交 7ef62f63 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

changes in docs

上级 0998da61
......@@ -18,6 +18,9 @@ TensorType
Creation
========
A tensor variable can be created
Autocasting
-----------
......@@ -26,7 +29,6 @@ TODO: What does (or compatible) mean? Talk about casting rules, refer .
.. function:: as_tensor_variable(x, ...)
TODO: Link to 'autocasting'
.. function:: lvector(name=None)
......@@ -140,14 +142,6 @@ See also:
Linear Algebra
==============
Fourier Transforms
==================
[James has some code for this, but hasn't gotten it into the source tree yet.]
=
=======
.. function:: dot(X, Y)
:param X: left term
......@@ -181,6 +175,13 @@ Fourier Transforms
:return: tensor product
Fourier Transforms
==================
[James has some code for this, but hasn't gotten it into the source tree yet.]
Gradient / Differentiation
==========================
......
......@@ -85,6 +85,7 @@ By calling ``T.dscalar`` with a string argument, you create a
given name. If you provide no argument, the symbol will be unnamed. Names
are not required, but they can help debugging.
-------------------------------------------
**Step 2**
......@@ -150,14 +151,15 @@ by :ref:`broadcasting <libdoc_tensor_broadcastable>`.
The following types are available:
* **byte**: bscalar, bvector, bmatrix
* **32-bit integers**: iscalar, ivector, imatrix
* **64-bit integers**: lscalar, lvector, lmatrix
* **float**: fscalar, fvector, fmatrix
* **double**: dscalar, dvector, dmatrix
* **byte**: bscalar, bvector, bmatrix, brow, bcol, btensor3, btensor4
* **32-bit integers**: iscalar, ivector, imatrix, irow, icol, itensor3, itensor4
* **64-bit integers**: lscalar, lvector, lmatrix, lrow, lcol, ltensor3, ltensor4
* **float**: fscalar, fvector, fmatrix, frow, fcol, ftensor3, ftensor4
* **double**: dscalar, dvector, dmatrix, drow, dcol, dtensor3, dtensor4
* **complex**: cscalar, cvector, cmatrix, crow, ccol, ctensor3, ctensor4
The previous list is not exhaustive. A guide to all types compatible
with numpy arrays may be found :ref:`here <predefinedtypes>`.
with numpy arrays may be found :ref:`here <libdoc_tensor_creation>`.
.. note::
......
......@@ -27,5 +27,4 @@ installation (see :ref:`install`).
modes
remarks
debug_faq
tools
......@@ -27,6 +27,15 @@ overridden by setting `theano.compile.mode.default_mode` directly,
which can in turn be overridden by passing the keyword argument to
:ref:`theano.function <libdoc_compile_function>`.
================= =============================================================== ===============================================================================
short name Full constructor What does it do?
================= =============================================================== ===============================================================================
(default) ``compile.mode.Mode(linker='py', optimizer=None)`` Python implementations with zero graph modifications.
FAST_COMPILE ``compile.mode.Mode(linker='c|py', optimizer='fast_compile')`` C implementations where available, quick and cheap graph transformations
FAST_RUN ``compile.mode.Mode(linker='c|py', optimizer='fast_run')`` C implementations where available, all available graph transformations.
DEBUG_MODE ``compile.debugmode.DebugMode()`` Both implementations where available, all available graph transformations.
================= =============================================================== ===============================================================================
.. _using_debugmode:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论