aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/distributions
Commit message (Collapse)AuthorAge
* Silence tf.distributions deprecation messages caused by internal global ↵Gravatar Pavel Sountsov2018-10-09
| | | | | | | | | | | | 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
* Update size of mvn_diag_test and core_rnn_cell_test to medium to fix timeoutsGravatar Smit Hinsu2018-10-03
| | | | PiperOrigin-RevId: 215651746
* Updating the V2 variables API.Gravatar Alexandre Passos2018-09-27
| | | | PiperOrigin-RevId: 214824023
* Move the correlation matrix volumes computation for testing the LKJ ↵Gravatar Alexey Radul2018-09-25
| | | | | | | | distribution from tf/contrib to tfp. Relevant to tensorflow/tensorflow#21909 PiperOrigin-RevId: 214511101
* Move from deprecated self.test_session() to self.cached_session().Gravatar A. Unique TensorFlower2018-09-21
| | | | | | | | 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
* Updating doc references to tf.distributions to point to tfp.distributions.Gravatar Brian Patton2018-09-20
| | | | PiperOrigin-RevId: 213867606
* Modify docs under contrib/distributions to point to tfp.Gravatar Brian Patton2018-09-20
| | | | PiperOrigin-RevId: 213866466
* Remove tensorflow/contrib/linalg library. linalg remains in core.Gravatar Ian Langmore2018-09-17
| | | | PiperOrigin-RevId: 213352573
* Point VectorDiffeomixture to tf.linalg rather than tf.contrib.linalgGravatar Ian Langmore2018-09-14
| | | | PiperOrigin-RevId: 213008118
* Point distributions code to tf.linalg rather than tf.contrib.linalgGravatar Ian Langmore2018-09-12
| | | | PiperOrigin-RevId: 212658047
* disable failing testGravatar Olivia Nordquist2018-09-11
| | | | PiperOrigin-RevId: 212497382
* Mark tensorflow/contrib/distributions:sinh_arcsinh_test as a medium-sized test.Gravatar Justin Lebar2018-08-31
| | | | PiperOrigin-RevId: 211154236
* contrib/distributions: Test cleanup.Gravatar Asim Shankar2018-08-23
| | | | | | | | | - 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
* Move from deprecated self.test_session() to self.cached_session().Gravatar A. Unique TensorFlower2018-08-22
| | | | | | | | 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
* Move from deprecated self.test_session() to self.cached_session().Gravatar A. Unique TensorFlower2018-08-21
| | | | | | | | 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
* Move from deprecated self.test_session() to self.session() when a graph is set.Gravatar A. Unique TensorFlower2018-08-21
| | | | | | 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
* Add entropy method to Deterministic.Gravatar Dustin Tran2018-08-14
| | | | PiperOrigin-RevId: 208657597
* Merge pull request #20477 from wdirons:fix_inverse_in_matrix_inverse_tril_testGravatar TensorFlower Gardener2018-08-09
|\ | | | | | | PiperOrigin-RevId: 208069965
* \ Merge pull request #21086 from taehoonlee:fix_typosGravatar TensorFlower Gardener2018-08-08
|\ \ | | | | | | | | | PiperOrigin-RevId: 207988541
* | | Internal change.Gravatar Anna R2018-08-08
| | | | | | | | | | | | PiperOrigin-RevId: 207960122
* | | Add low and high as properties to quantized distribution.Gravatar Dustin Tran2018-07-26
| | | | | | | | | | | | PiperOrigin-RevId: 206249977
| * | Fix typosGravatar Taehoon Lee2018-07-24
|/ /
* | Fix bug in masked_autoregressive_default_template where custom name was not ↵Gravatar A. Unique TensorFlower2018-07-16
| | | | | | | | | | | | creating custom variable scopes. PiperOrigin-RevId: 204747987
| * Fix matrix_inverse_tril_test handling the inverse of 0Gravatar William D. Irons2018-07-02
|/ | | | | | | | | | 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
* Replace unnecessary `()` in `run_in_graph_and_eager_modes()`.Gravatar Tom Hennigan2018-06-22
| | | | PiperOrigin-RevId: 201652888
* Fix CholeskyOuterProduct to return scalar determinant with single matrix inputs.Gravatar A. Unique TensorFlower2018-06-20
| | | | PiperOrigin-RevId: 201431010
* Merge changes from github.Gravatar Akshay Modi2018-06-18
| | | | PiperOrigin-RevId: 201110240
* Replace distribution_util.assert_close with tf.assert_near.Gravatar A. Unique TensorFlower2018-06-18
| | | | PiperOrigin-RevId: 201058937
* Disable large tests in fastbuild mode.Gravatar Gunhan Gulsoy2018-06-18
| | | | PiperOrigin-RevId: 201048439
* Automated g4 rollback of changelist 201011811Gravatar Akshay Modi2018-06-18
| | | | PiperOrigin-RevId: 201033171
* Merge changes from github.Gravatar Akshay Modi2018-06-18
| | | | PiperOrigin-RevId: 201011811
* Move non-core Distributions and Bijectors to Tensorflow Probability (TFP), ↵Gravatar A. Unique TensorFlower2018-06-12
| | | | | | | | | | | | | 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
* Add `move_dimension` utility to move a single dimension within a Tensor.Gravatar A. Unique TensorFlower2018-06-11
| | | | PiperOrigin-RevId: 200141207
* Remove Bayesflow/Distribution/Bijector docs.Gravatar A. Unique TensorFlower2018-06-11
| | | | | | These docs are out of date. PiperOrigin-RevId: 200066984
* Add ScaleTriL Bijector to enable transformed distributions over PSD matrices.Gravatar A. Unique TensorFlower2018-06-07
| | | | PiperOrigin-RevId: 199706732
* Add TransformDiagonal higher-order bijector to transform only the diagonal ↵Gravatar A. Unique TensorFlower2018-06-07
| | | | | | of a matrix. PiperOrigin-RevId: 199680859
* Add FillTriangular Bijector to create triangular matrices.Gravatar A. Unique TensorFlower2018-06-07
| | | | PiperOrigin-RevId: 199670547
* Remove tf_export decorator from contrib. tf_export decorators currently aren'tGravatar Anna R2018-06-04
| | | | | | supported in contrib. PiperOrigin-RevId: 199200258
* Computing the volume of the set of correlation matrices with bounded ↵Gravatar A. Unique TensorFlower2018-06-04
| | | | | | | | determinant. This is useful for testing the LKJ distribution on correlation matrices. PiperOrigin-RevId: 199153115
* Add `fill_triangular_inverse`, which flattens a triangular matrix in a way ↵Gravatar Joshua V. Dillon2018-05-30
| | | | | | | | | | | 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
* Add `tf.contrib.distributions.bijectors.MatrixInverseTriL`: Bijector that ↵Gravatar A. Unique TensorFlower2018-05-30
| | | | | | inverts a lower-triangular matrix. PiperOrigin-RevId: 198622553
* Clarify argument types and relationships in docstrings of ↵Gravatar A. Unique TensorFlower2018-05-29
| | | | | | statistical_testing.py. PiperOrigin-RevId: 198414898
* Eliminate self.test_session in favor of self.evaluate in ↵Gravatar A. Unique TensorFlower2018-05-29
| | | | | | statistical_testing_test.py. PiperOrigin-RevId: 198410306
* Generalize assert_true_mean_equal and assert_true_mean_equal_two_sample to ↵Gravatar A. Unique TensorFlower2018-05-29
| | | | | | assert_true_mean_in_interval. PiperOrigin-RevId: 198400265
* Use dict(locals()) instead of distribution_util.parent_frame_arguments. This ↵Gravatar A. Unique TensorFlower2018-05-25
| | | | | | | | 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
* Merge changes from github.Gravatar Yifei Feng2018-05-24
| | | | | | | 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
* Set the correct shape in transformed distribution.Gravatar A. Unique TensorFlower2018-05-23
| | | | | | Also add distribution_util.maybe_get_static_event_ndims to be reused in bijector and transformed distribution classes. PiperOrigin-RevId: 197831651
* Enable `SeedStream` construction from other `SeedStream` instances.Gravatar Joshua V. Dillon2018-05-18
| | | | PiperOrigin-RevId: 197182686
* Remove _USE_C_API staging in tests now that the C API is enabled by default.Gravatar Skye Wanderman-Milne2018-05-16
| | | | | | This is in preparation for removing the _USE_C_API toggle altogether. PiperOrigin-RevId: 196920481
* Modify tf.contrib.distributions.BatchReshape to behave a bit more likeGravatar A. Unique TensorFlower2018-05-16
| | | | | | | tf.reshape: accept a single unknown dimension and infer partial shape information statically. PiperOrigin-RevId: 196833267