提交 38a8858d authored 作者: Chiheb Trabelsi's avatar Chiheb Trabelsi

doc/tutorial/broadcasting.txt has been modified so it doesn't generate an error…

doc/tutorial/broadcasting.txt has been modified so it doesn't generate an error message during the documentation generation test.
上级 0b6c36b6
...@@ -34,6 +34,9 @@ information is given in the :ref:`type` of a *Variable*. ...@@ -34,6 +34,9 @@ information is given in the :ref:`type` of a *Variable*.
The following code illustrates how rows and columns are broadcasted in order to perform an addition operation with a matrix: The following code illustrates how rows and columns are broadcasted in order to perform an addition operation with a matrix:
>>> import numpy as np
>>> import theano
>>> import theano.tensor as T
>>> r = T.row() >>> r = T.row()
>>> r.broadcastable >>> r.broadcastable
(True, False) (True, False)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论