tfp.experimental.distributions.marginal_fns.make_backoff_cholesky
Stay organized with collections
Save and categorize content based on your preferences.
Make a function that tries Cholesky then the user-specified function.
tfp . experimental . distributions . marginal_fns . make_backoff_cholesky (
alternate_cholesky , name = 'BackoffCholesky'
)
Warning: This function uses an XLA-compiled tf.linalg.cholesky to capture
factorization failures.
Args
alternate_cholesky
A callable with the same signature as
tf.linalg.cholesky .
name
Python str name prefixed to Ops created by this function.
Default value: 'BackoffCholesky'.
Returns
run_backoff
An function that attempts a standard Cholesky, and then tries
alternate_cholesky on failure.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-11-21 UTC.
[null,null,["Last updated 2023-11-21 UTC."],[],[]]