提交 6e3447aa authored 作者: Pierre Luc Carrier's avatar Pierre Luc Carrier

Update links to external documentation in Alternate Theano Types

上级 93d7f6a3
...@@ -250,35 +250,31 @@ Most ops in Theano are used to manipulate tensors. However, Theano also ...@@ -250,35 +250,31 @@ Most ops in Theano are used to manipulate tensors. However, Theano also
supports many other variable types. The supported types are listed below, supports many other variable types. The supported types are listed below,
along with pointers to the relevant documentation. along with pointers to the relevant documentation.
* TensorType : Theano type that representes a multidimensional * :class:`TensorType <tensor.TensorType>` : Theano type that represents
array containing elements that all have the same type. Variables of a multidimensional array containing elements that all have the same
this Theano type are represented in C as objects of class type. Variables of this Theano type are represented in C as objects of
class
`PyArrayObject <http://docs.scipy.org/doc/numpy/reference/c-api.types-and-structures.html#PyArrayObject>`_. `PyArrayObject <http://docs.scipy.org/doc/numpy/reference/c-api.types-and-structures.html#PyArrayObject>`_.
The :class:`TensorType documentation <tensor.TensorType>`.
* :ref:`TypedList <libdoc_typed_list>` : Theano type that represents a
* TypedList : Theano type that represents a typed list (a list where typed list (a list where every element in the list has the same Theano
every element in the list has the same Theano type). Variables of this type). Variables of this Theano type are represented in C as objects
Theano type are represented in C as objects of class of class `PyListObject <https://docs.python.org/2/c-api/list.html>`_.
`PyListObject <https://docs.python.org/2/c-api/list.html>`_. The
:ref:`TypedList documentation <libdoc_typed_list>`. * :ref:`Scalar <libdoc_scalar>` : Theano type that represents a C
primitive type. The C type associated with this Theano type is the
* Scalar : Theano type that represents a C primitive type. The C type represented C primitive itself.
associated with this Theano type is the represented C primitive
itself. The :ref:`Scalar documentation <libdoc_scalar>`. * :ref:`SparseType <sparse_ops>` : Theano type used to represent sparse
tensors. There is no equivalent C type for this Theano Type but you
* SparseType : Theano type used to represent sparse tensors. There is no can split a sparse variable into its parts as TensorVariables. Those
equivalent C type for this Theano Type but you can split a sparse can then be used as inputs to an op with C code.
variable into its parts as TensorVariables. Those can then be used as
inputs to an op with C code. The * :class:`Generic <theano.gof.type.Generic>` : Theano type that
:ref:`Sparse Ops documentation <sparse_ops>`. represents a simple Python Object. Variables of this Theano type are
represented in C as objects of class `PyObject
* Generic : Theano type that represents a simple Python Object. <https://docs.python.org/2/c-api/structures.html#c.PyObject>`_.
Variables of this Theano type are represented in C as objects of class
`PyObject * :class:`CDataType <theano.gof.type.CDataType>` : Theano type that
<https://docs.python.org/2/c-api/structures.html#c.PyObject>`_. The represents a C data type. The C type associated with this Theano type
:class:`Generic documentation <theano.gof.type.Generic>`. depends on the data being represented.
* CDataType : Theano type that represents a C data type. The C type
associated with this Theano type depends on the data being
represented. The :class:`CDataType documentation
<theano.gof.type.CDataType>`.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论