提交 b1b432b6 authored 作者: Caglar's avatar Caglar

Updated the batched_dot function's comment.

上级 71e615c9
......@@ -4336,6 +4336,9 @@ def batched_dot(x, y):
>>> first = T.tensor3('first')
>>> second = T.tensor3('second')
>>> result = batched_dot(first, second)
:note: This is a subset of numpy.einsum, but we do not provide it for now.
But numpy einsum is slower then dot or tensordot:
http://mail.scipy.org/pipermail/numpy-discussion/2012-October/064259.html
"""
result, updates = theano.scan(fn=lambda x_mat, y_mat:
theano.tensor.dot(x_mat, y_mat),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论