提交 815b3049 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Minor typo fixes

上级 c136e1df
...@@ -48,7 +48,7 @@ New Features ...@@ -48,7 +48,7 @@ New Features
contains dimensions with bad value like 0. (Frédéric B. reported by Ian G.) contains dimensions with bad value like 0. (Frédéric B. reported by Ian G.)
Sparse Sparse
* Implement theano.sparse.mul(sparse1, sparse2) when both input don't * Implement theano.sparse.mul (sparse1, sparse2) when both inputs don't
have the same sparsity pattern. (Frederic B.) have the same sparsity pattern. (Frederic B.)
Sparse Sandbox graduate Sparse Sandbox graduate
......
...@@ -1180,8 +1180,8 @@ class MulSS(gof.op.Op): ...@@ -1180,8 +1180,8 @@ class MulSS(gof.op.Op):
assert _is_sparse(x) and _is_sparse(y) assert _is_sparse(x) and _is_sparse(y)
assert len(x.shape) == 2 assert len(x.shape) == 2
assert y.shape == x.shape assert y.shape == x.shape
# This call the element-wise multiple # This calls the element-wise multiple
# x * y call dot... # x * y calls dot...
out[0] = x.multiply(y) out[0] = x.multiply(y)
def grad(self, (x, y), (gz,)): def grad(self, (x, y), (gz,)):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论