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

Function _overdetermined

tensorflow/python/ops/linalg_ops.py:265–269  ·  view source on GitHub ↗

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

(matrix, rhs, l2_regularizer)

Source from the content-addressed store, hash-verified

263 return True
264
265 def _overdetermined(matrix, rhs, l2_regularizer):
266 """Computes (A^H*A + l2_regularizer)^{-1} * A^H * rhs."""
267 chol = _RegularizedGramianCholesky(
268 matrix, l2_regularizer=l2_regularizer, first_kind=True)
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."""

Callers 1

_composite_implFunction · 0.85

Calls 3

cholesky_solveFunction · 0.85
matmulMethod · 0.45

Tested by

no test coverage detected