View source on GitHub
|
https://en.wikipedia.org/wiki/Incomplete_Cholesky_factorization .
Inherits From: LowRankSplitPreconditioner, SplitPreconditioner, Preconditioner
tfp.experimental.fastgp.preconditioners.PartialCholeskySplitPreconditioner(
M: tf2jax.linalg.LinearOperator, rank: int = 20, **unused_kwargs
)
Methods
from_lowrank
@classmethodfrom_lowrank( M, low_rank )
Alternate constructor when low_rank is already made.
full_preconditioner
full_preconditioner() -> tf2jax.linalg.LinearOperator
Returns P = R^T R, the preconditioner's approximation to M.
log_det
log_det()
Returns log det(R^T R) = 2 log det R.
preconditioned_operator
preconditioned_operator() -> tf2jax.linalg.LinearOperator
Returns R^(-T) M R^(-1).
right_half
right_half() -> tf2jax.linalg.LinearOperator
Returns R, where the preconditioner is P = R^T R.
trace_of_inverse_product
trace_of_inverse_product(
A: tfp.experimental.fastgp.fast_gp.Array
)
Returns tr( (R^T R)^(-1) A ) for a n x n, non-batched A.
tree_flatten
tree_flatten()
tree_unflatten
@classmethodtree_unflatten( unused_aux_data, children )
View source on GitHub