MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _underdetermined

Function _underdetermined

tensorflow/python/ops/linalg_ops.py:271–275  ·  view source on GitHub ↗

Computes A^H * (A*A^H + l2_regularizer)^{-1} * rhs.

(matrix, rhs, l2_regularizer)

Source from the content-addressed store, hash-verified

269 return cholesky_solve(chol, math_ops.matmul(matrix, rhs, adjoint_a=True))
270
271 def _underdetermined(matrix, rhs, l2_regularizer):
272 """Computes A^H * (A*A^H + l2_regularizer)^{-1} * rhs."""
273 chol = _RegularizedGramianCholesky(
274 matrix, l2_regularizer=l2_regularizer, first_kind=False)
275 return math_ops.matmul(matrix, cholesky_solve(chol, rhs), adjoint_a=True)
276
277 def _composite_impl(matrix, rhs, l2_regularizer):
278 """Composite implementation of matrix_solve_ls that supports GPU."""

Callers 1

_composite_implFunction · 0.85

Calls 3

cholesky_solveFunction · 0.85
matmulMethod · 0.45

Tested by

no test coverage detected