提交 dc10c9f1 authored 作者: Cesar Laurent's avatar Cesar Laurent

Corrected doc.

上级 a7f85a85
......@@ -701,13 +701,13 @@ Creating Tensor
(of 1 rank greater).
:param tensors: a list or a tuple of one or more tensors of the same rank.
:param axis: the axis along which the tensors will be stacked.
:param axis: the axis along which the tensors will be stacked. Default value is 0.
:returns: A tensor such that rval[0] == tensors[0], rval[1] == tensors[1], etc.
>>> x0 = T.scalar()
>>> x1 = T.scalar()
>>> x2 = T.scalar()
>>> x = T.stack(x0, x1, x2)
>>> x = T.stack([x0, x1, x2])
>>> x.ndim # x is a vector of length 3.
1
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论