提交 738d9e86 authored 作者: Matt Graham's avatar Matt Graham

Removing debug print ops.

上级 1c8f8d6a
......@@ -66,7 +66,6 @@ class Cholesky(Op):
x = inputs[0]
dz = gradients[0]
chol_x = self(x)
chol_x = theano.printing.Print('Cholesky:')(chol_x)
def tril_and_halve_diagonal(mtx):
"""Extracts lower triangle of square matrix and halves diagonal."""
......@@ -80,8 +79,6 @@ class Cholesky(Op):
s = conjugate_solve_triangular(
chol_x, tril_and_halve_diagonal(chol_x.T.dot(dz)))
s = theano.printing.Print('S:')(s)
return [tensor.tril(s + s.T) - tensor.diag(tensor.diagonal(s))]
cholesky = Cholesky()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论