Documentation for tensor/basic: changes to formatting.

上级 7d74e2c7
......@@ -386,19 +386,16 @@ Casting
Comparisons
------------
.. note::
Theano has no boolean dtype. Instead, all boolean tensors are represented
in ``'int8'``.
.. note::
The six usual equality and inequality operators share the same interface.
The six usual equality and inequality operators share the same interface.
:Parameter: *a* - symbolic Tensor (or compatible)
:Parameter: *b* - symbolic Tensor (or compatible)
:Return type: symbolic Tensor
:Returns: a symbolic tensor representing the application of the logical
elementwise operator.
:Returns: a symbolic tensor representing the application of the logical elementwise operator.
.. note::
Theano has no boolean dtype. Instead, all boolean tensors are represented
in ``'int8'``.
Here is an example with the less-than operator.
......@@ -463,7 +460,6 @@ Condition
Bit-wise
--------
.. note:: The bitwise operators must have an integer type as input.
The bitwise operators possess this interface:
:Parameter: *a* - symbolic Tensor of integer type.
......@@ -471,9 +467,11 @@ The bitwise operators possess this interface:
.. note::
The bitwise operators must have an integer type as input.
The bit-wise not (invert) takes only one parameter.
:Return type: symbolic Tensor with ``int8`` dtype.
:Return type: symbolic Tensor with corresponding dtype.
.. function:: and_(a, b)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论