提交 3301d8d8 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

docstrings for the pinv op

上级 3935c14d
......@@ -476,6 +476,13 @@ class CholeskyGrad(Op):
class MatrixPinv(Op):
"""Computes the pseudo-inverse of a matrix :math:`A`.
Given a matrix :math:`A` of shape ``(d1, d2)``, ``pinv`` returns a
matrix :math:`A_{pinv}` of ``(d2, d1)`` such that the dot product
:math:`A_{inv} \cdot A` is as close as poosible to the identity
matrix :math:`I`.
"""
def __init__(self):
pass
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论