提交 167fe839 authored 作者: Reyhane Askari's avatar Reyhane Askari

changed test_grad_useless_sum doc string

上级 1249661d
...@@ -1248,7 +1248,7 @@ def test_grad_useless_sum(): ...@@ -1248,7 +1248,7 @@ def test_grad_useless_sum():
When an operation (such as T.mul) is done on a broadcastable vector and When an operation (such as T.mul) is done on a broadcastable vector and
a matrix, the gradient in backward path is computed for the broadcasted a matrix, the gradient in backward path is computed for the broadcasted
vector. So a sum reverts the broadcasted vector to a vector. In the case vector. So a sum reverts the broadcasted vector to a vector. In the case
of operations on two vectors, the sum should not be generated. of operations on two broadcastable vectors, the sum should not be generated.
This test checks whether there is a useless sum in the gradient This test checks whether there is a useless sum in the gradient
computations. computations.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论