| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
| |
function calls.
E.g. register_kl calls would trigger such warnings. This spam was exacerbated
by the fact that it happens before logging is initialized, so it is dumped
prominently to STDERR. Worse yet it also happened no matter whether the user
imported any symbols from tf.distributions or not as the relevant code is
executed when you import TensorFlow.
PiperOrigin-RevId: 216396036
|
|
|
|
| |
PiperOrigin-RevId: 215651746
|
|
|
|
| |
PiperOrigin-RevId: 214824023
|
|
|
|
|
|
|
|
| |
distribution from tf/contrib to tfp.
Relevant to tensorflow/tensorflow#21909
PiperOrigin-RevId: 214511101
|
|
|
|
|
|
|
|
| |
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 213944355
|
|
|
|
| |
PiperOrigin-RevId: 213867606
|
|
|
|
| |
PiperOrigin-RevId: 213866466
|
|
|
|
| |
PiperOrigin-RevId: 213352573
|
|
|
|
| |
PiperOrigin-RevId: 213008118
|
|
|
|
| |
PiperOrigin-RevId: 212658047
|
|
|
|
| |
PiperOrigin-RevId: 212497382
|
|
|
|
| |
PiperOrigin-RevId: 211154236
|
|
|
|
|
|
|
|
|
| |
- Don't need a test_session() when using
@test_util.run_in_graph_and_eager_modes
- Can use @test_util.run_all_in_graph_and_eager_modes when all tests in the
TestCase should be run in both modes.
PiperOrigin-RevId: 209968609
|
|
|
|
|
|
|
|
| |
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 209839048
|
|
|
|
|
|
|
|
| |
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 209700663
|
|
|
|
|
|
| |
self.test_session() has been deprecated in cl/208545396 as its behavior confuses readers of the test. Moving to self.session() instead.
PiperOrigin-RevId: 209696110
|
|
|
|
| |
PiperOrigin-RevId: 208657597
|
|\
| |
| |
| | |
PiperOrigin-RevId: 208069965
|
|\ \
| | |
| | |
| | | |
PiperOrigin-RevId: 207988541
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 207960122
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 206249977
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
creating custom variable scopes.
PiperOrigin-RevId: 204747987
|
|/
|
|
|
|
|
|
|
|
| |
The inverse of 0 is undefined, so when computing the inverse of a lower
triangular numpy array, we need to ensure the zeros in the upper
parts of the triangle remain as zero. After doing the inverse
of an array, iterator over the array and set the values above the
main diagonal to zero.
See: https://github.com/numpy/numpy/issues/11445
Fixes: #20013
|
|
|
|
| |
PiperOrigin-RevId: 201652888
|
|
|
|
| |
PiperOrigin-RevId: 201431010
|
|
|
|
| |
PiperOrigin-RevId: 201110240
|
|
|
|
| |
PiperOrigin-RevId: 201058937
|
|
|
|
| |
PiperOrigin-RevId: 201048439
|
|
|
|
| |
PiperOrigin-RevId: 201033171
|
|
|
|
| |
PiperOrigin-RevId: 201011811
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and deprecate tf.contrib.distributions.
This CL:
- copies Distributions code into TFP
- Updates it to use TFP idioms, e.g., 'tf.matmul' instead of 'math_ops.matmul'.
- Creates a new `internal` subdirectory for modules that must be importable but not visible externally by way of `__init__.py`.
- Adds a deprecation notice to tf.contrib.distributions BUILD files and to the class constructors of all tf.contrib Distributions and Bijectors. (and removes tests from the deprecated copies of `distribution_test` and `normal_conjugate_posteriors_test` whose `instance()` calls would be broken by the deprecation wrapper).
- Updates miscellaneous references to distributions in TFP. It does not attempt to migrate *all* TFP code to use TFP Distributions; this will be done in a separate CL.
PiperOrigin-RevId: 200333629
|
|
|
|
| |
PiperOrigin-RevId: 200141207
|
|
|
|
|
|
| |
These docs are out of date.
PiperOrigin-RevId: 200066984
|
|
|
|
| |
PiperOrigin-RevId: 199706732
|
|
|
|
|
|
| |
of a matrix.
PiperOrigin-RevId: 199680859
|
|
|
|
| |
PiperOrigin-RevId: 199670547
|
|
|
|
|
|
| |
supported in contrib.
PiperOrigin-RevId: 199200258
|
|
|
|
|
|
|
|
| |
determinant.
This is useful for testing the LKJ distribution on correlation matrices.
PiperOrigin-RevId: 199153115
|
|
|
|
|
|
|
|
|
|
|
| |
such that:
# Lower triangular matrix
x = tf.matrix_band_part(x, -1, 0)
x == fill_triangular(fill_triangular_inverse(x))
Code by srvasude@ which I'm submitting on his behalf.
PiperOrigin-RevId: 198623887
|
|
|
|
|
|
| |
inverts a lower-triangular matrix.
PiperOrigin-RevId: 198622553
|
|
|
|
|
|
| |
statistical_testing.py.
PiperOrigin-RevId: 198414898
|
|
|
|
|
|
| |
statistical_testing_test.py.
PiperOrigin-RevId: 198410306
|
|
|
|
|
|
| |
assert_true_mean_in_interval.
PiperOrigin-RevId: 198400265
|
|
|
|
|
|
|
|
| |
will be much
faster at object construction time (going forward we'll figure out a way to make this a function to call).
PiperOrigin-RevId: 198141184
|
|
|
|
|
|
|
| |
Revert #18413. Too many internal test failures due to the name scope change caused by this change.
Revert #18192. Cannot use re2::StringPiece internally. Need alternative for set call. Will pull and clean this up in a separate change.
PiperOrigin-RevId: 197991247
|
|
|
|
|
|
| |
Also add distribution_util.maybe_get_static_event_ndims to be reused in bijector and transformed distribution classes.
PiperOrigin-RevId: 197831651
|
|
|
|
| |
PiperOrigin-RevId: 197182686
|
|
|
|
|
|
| |
This is in preparation for removing the _USE_C_API toggle altogether.
PiperOrigin-RevId: 196920481
|
|
|
|
|
|
|
| |
tf.reshape: accept a single unknown dimension and infer partial shape
information statically.
PiperOrigin-RevId: 196833267
|