forked from tensorflow/probability
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds
tfp.math.cholesky_concat
, which can be used to implicitly exte…
…nd a n x n Xn = LnLn^T with Yzm new rows and columns (z = n + m), yielding a new Lz such that Xz = LzLz^T and Yzm forms the right-m and bottom-m rectangles of Xz. This can be useful for extending an already-known cholesky in a backprop-friendly and efficient (N^2 instead of N^3) manner, e.g. for bayesian optimization. Along the way, refactoring out a broadcasting_shapes hypothesis sampling strategy from distribution_properties_test -> tfp test_util. PiperOrigin-RevId: 242551531
- Loading branch information
1 parent
b4a4802
commit 0c46081
Showing
8 changed files
with
253 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.