NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #4279 most downloaded on PyPI
Probabilistic modeling and statistical inference in TensorFlow
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 28 of 31 stable releases
2 versions withdrawn
withdrawn after publishing
9 years old
53 releases · first in 2018
This is the 0.25 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.18 and JAX 0.4.35.
This is the 0.25 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.18 and JAX 0.4.35.
NOTE: In TensorFlow 2.16+, tf.keras (and tf.initializers, tf.losses, and tf.optimizers) refers to Keras 3. TensorFlow Probability is not compatible with Keras 3 -- instead TFP is continuing to use Keras 2, which is now packaged as tf-keras and tf-keras-nightly and is imported as tf_keras. When using TensorFlow Probability with TensorFlow, you must explicitly install Keras 2 along with TensorFlow (or install tensorflow-probability[tf] or tfp-nightly[tf] to automatically install these dependencies.)
One column per quarter.
This is the 0.24.0 release of TensorFlow Probability. It is tested and stable against TensorFlow 2.16.1 and JAX 0.4.25 .
This is the 0.24.0 release of TensorFlow Probability. It is tested and stable against TensorFlow 2.16.1 and JAX 0.4.25 .
NOTE: In TensorFlow 2.16+, tf.keras (and tf.initializers, tf.losses, and tf.optimizers) refers to Keras 3. TensorFlow Probability is not compatible with Keras 3 -- instead TFP is continuing to use Keras 2, which is now packaged as tf-keras and tf-keras-nightly and is imported as tf_keras. When using TensorFlow Probability with TensorFlow, you must explicitly install Keras 2 along with TensorFlow (or install tensorflow-probability[tf] or tfp-nightly[tf] to automatically install these dependencies.)
TensorFlow Probability now supports Python 3.12.
tfp.layers and tfp.experimental.nn will raise errors because of a TensorFlow + wrapt bug (see https://github.com/tensorflow/tensorflow/issues/60687 ), which can be worked around by setting the environment variable WRAPT_DISABLE_EXTENSIONS=true.Added an experimental implementation of Chopin, Jacob, Papaspiliopoulos, "SMC^2: an efficient algorithm for sequential analysis of state-space models", Journal of the Royal Statistical Society Series B: Statistical Methodology 75.3 (2013). See https://github.com/tensorflow/probability/blob/v0.24.0/tensorflow_probability/python/experimental/mcmc/particle_filter.py#L766 .
Added tfp.experimental.fastgp, a library for approximately training and evaluating Gaussian Processes in sub-O(n^3) time.
See https://github.com/tensorflow/probability/tree/r0.24/tensorflow_probability/python/experimental/fastgp .
This is the 0.23.0 release of TensorFlow Probability. It is tested and stable against TensorFlow 2.15.0 and JAX 0.4.20 .
This is the 0.23.0 release of TensorFlow Probability. It is tested and stable against TensorFlow 2.15.0 and JAX 0.4.20 .
[coming soon]
Fixes some NumPy deprecation warnings by no longer casting size-1 arrays to ints.
This is the 0.22.1 release of TensorFlow Probability. It is tested and stable against TensorFlow 2.14.0 and JAX 0.4.16 and 0.4.19 .
See the release note for TFP 0.22.0 at https://github.com/tensorflow/probability/releases/tag/v0.22.0 .
Fixes some NumPy deprecation warnings by no longer casting size-1 arrays to ints.
Dependency typing_extensions is no longer pinned to <4.6.0.
Support for Python 3.8 has been removed starting with TensorFlow Probability 0.22.0.
This is the 0.22 release of TensorFlow Probability. It is tested and stable against TensorFlow 2.14.0 and JAX 0.4.16 .
This is the 0.22 release of TensorFlow Probability. It is tested and stable against TensorFlow 2.14.0 and JAX 0.4.16 .
Support for Python 3.8 has been removed starting with TensorFlow Probability 0.22.0.
[Coming soon.]
This is the 0.21.0 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.13 and JAX 0.4.14 .
This is the 0.21.0 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.13 and JAX 0.4.14 .
[no major changes]
Nothing published for this version
BREAKING CHANGE: Ignore deprecated always_yield_multivariante_normal arg to tfd.GaussianProcess and tfd.GaussianProcessRegressionModel so that event s…
This is the 0.20 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.12 and JAX 0.4.8 .
LinearOperatorBasis and LinearOperatorRowBlock.Dirichlet and RelaxedOneHotCategorical transform correctly under bijectors.SphericalSpace and use in all Spherical DistributionsGeneralSpace.transform_generalalways_yield_multivariante_normal arg to tfd.GaussianProcess and tfd.GaussianProcessRegressionModel so that event shape is always [1] for a single index point.bayesopt submodule of TFP experimental and add acquisition functions.FeatureScaledWithCategorical kernel, a PSD kernel over structures of continuous and categorical data, to TFP experimental.This is the 0.19.0 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.11 and JAX 0.3.25 .
This is the 0.19.0 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.11 and JAX 0.3.25 .
Bijectors
UnitVector bijector to map to the unit sphere.Distributions
GaussianProcess* classes.GaussianProcess* gradients through custom gradients
on log_prob.Linear Algebra
tfp.math.hspd_logdettfp.math.hpsd_quadratic_form_solve and tfp.math.hpsd_quadratic_form_solvevectfp.math.hpsd_solve and tfp.math.hpsd_solvevecOptimizer
PSD Kernels
STS
Other
This is the 0.18.0 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.10 and JAX 0.3.17 .
This is the 0.18.0 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.10 and JAX 0.3.17 .
[coming soon]
[coming soon]
This is the 0.17.0 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.9.1 and JAX 0.3.13 .
This is the 0.17.0 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.9.1 and JAX 0.3.13 .
Distributions
ContinuousBernoulli.TwoPieceNormal distribution and reparameterize it's samples.IncrementLogProb a proper tfd.Distribution.Empirical distribution.tfp.experimental.distributions.MultiTaskGaussianProcessRegressionModelMultiTaskGaussian Processes in the presence of
observation noise: Reduce complexity from O((NT)^3) to O(N^3 + T^3) where N
is the number of data points and T is the number of tasks.VariationalGaussianProcess.tfd.LognNormal.experimental_from_mean_variance.Bijectors
tfb.Ordered bijector and finite_nondiscrete flags in Distributions.Math
STS
tfp.experimental.sts_gibbs for Gibbs sampling Bayesian structural time
series models with sparse linear regression.tfp.experimental.sts_gibbs under JAXExperimental
perturbed_observations option to
ensemble_kalman_filter_log_marginal_likelihood.Other
assertAllMeansClose to tfp.TestCase for testing sampling code.This is the 0.16.0 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.8.0 and JAX 0.3.0 .
This is the 0.16.0 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.8.0 and JAX 0.3.0 .
[coming soon]
Nothing published for this version
BREAKING CHANGE: Remove deprecated AffineScalar bijector. Please use tfb.Shift(shift)(tfb.Scale(scale)) instead.
This is the 0.15 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.7.0.
Distributions
tfd.StudentTProcessRegressionModel.JointDistributionCoroutine no longer requires Root when sample_shape==().sample_distributions from autobatched joint distributions.mask argument to support missing observations in HMM log probs.BetaBinomial.log_prob is more accurate when all trials succeed.MixtureSameFamily.cholesky_fn argument to GaussianProcess, GaussianProcessRegressionModel, and SchurComplement.GaussianProcess.posterior_predictive.Bijectors
tf.Variables no longer register as ==.AffineScalar bijector. Please use tfb.Shift(shift)(tfb.Scale(scale)) instead.Affine and AffineLinearOperator bijectors.PSD kernels
tfp.math.psd_kernels.ChangePoint.PositiveSemidefiniteKernel.inverse_length_scale parameter to kernels.parameter_properties to PSDKernel along with automated batch shape inference.VI
tfp.experimental.vi.build_factored_surrogate_posterior.STS
+ syntax for summing StructuralTimeSeries models.Math
tfp.math.ode.tfp.math.value_and_gradient.Experimental
experimental.mcmc windowed samplers.ensemble_kalman_filter_log_marginal_likelihood (log evidence) computation added to tfe.sequential.tfp.experimental.distributions.JointDensityCoroutine.IncrementLogProb.foldl in no_pivot_ldl instead of while_loop.Other
This is the 0.14.1 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.6.0 and JAX 0.2.21.
This is the 0.14.1 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.6.0 and JAX 0.2.21.
[coming soon]
This is the 0.14 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.6.0 and JAX 0.2.20.
This is the 0.14 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.6.0 and JAX 0.2.20.
Please see the release notes for TFP 0.14.1 at https://github.com/tensorflow/probability/releases/v0.14.1 .
Improve numerical stability of tfd.ContinuousBernoulli and deprecate lims parameter.
This is the 0.13 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.5.0.
See the visual release notebook in colab.
Distributions
tfd.BetaQuotienttfd.DeterminantalPointProcesstfd.ExponentiallyModifiedGaussiantfd.MatrixNormal and tfd.MatrixTtfd.NormalInverseGaussiantfd.SigmoidBetatfp.experimental.distribute.Shardedtfd.BatchBroadcasttfd.Maskedtfd.Zipftfd.InverseGaussian.tfd.{Chi2,ExpGamma,Gamma,GeneralizedNormal,InverseGamma}Distribution batch shapes automatically from parameter annotations.Exponential.cdf(x) is always 0 for x < 0.VectorExponentialLinearOperator and VectorExponentialDiag distributions now return variance, covariance, and standard deviation of the correct shape.Bates distribution now returns mean of the correct shape.GeneralizedPareto now returns variance of the correct shape.Deterministic distribution now returns mean, mode, and variance of the correct shape.JointDistributionPinned's support bijectors respect autobatching.InverseGaussian no longer emits negative samples for large loc / concentrationGammaGamma, GeneralizedExtremeValue, LogLogistic, LogNormal, ProbitBernoulli should no longer compute nan log_probs on their own samples. VonMisesFisher, Pareto, and GeneralizedExtremeValue should no longer emit samples numerically outside their support.tfd.ContinuousBernoulli and deprecate lims parameter.Bijectors
tf.nest.flatten (tfb.tree_flatten) and tf.nest.pack_sequence_as (tfb.pack_sequence_as).tfp.experimental.bijectors.Shardedtfb.ScaleTrilL. Use tfb.FillScaleTriL instead.cls.parameter_properties() annotations for Bijectors.tfb.Power to all reals for odd integer powers.MCMC
remc_thermodynamic_integrals added to tfp.experimental.mcmctfp.experimental.mcmc.windowed_adaptive_hmctfp.experimental.mcmc.init_near_unconstrained_zerotfp.experimental.mcmc.retry_initThinningKernel to experimental.mcmc.experimental.mcmc.run_kernel driver as a candidate streaming-based replacement to mcmc.sample_chainVI
build_split_flow_surrogate_posterior to tfp.experimental.vi to build structured VI surrogate posteriors from normalizing flows.build_affine_surrogate_posterior to tfp.experimental.vi for construction of ADVI surrogate posteriors from an event shape.build_affine_surrogate_posterior_from_base_distribution to tfp.experimental.vi to enable construction of ADVI surrogate posteriors with correlation structures induced by affine transformations.MAP/MLE
tfp.experimental.util.make_trainable(cls) to create trainable instances of distributions and bijectors.Math/linalg
tfp.math.log_bessel_kve.no_pivot_ldl to experimental.linalg.marginal_fn argument to GaussianProcess (see no_pivot_ldl).tfp.math.atan_difference(x, y)tfp.math.erfcx, tfp.math.logerfc and tfp.math.logerfcxtfp.math.dawsn for Dawson's Integral.tfp.math.igammaincinv, tfp.math.igammacinv.tfp.math.sqrt1pm1.LogitNormal.stddev_approx and LogitNormal.variance_approxtfp.math.owens_t for the Owen's T function.bracket_root method to automatically initialize bounds for a root search.Stats
tfp.stats.windowed_mean efficiently computes windowed means.tfp.stats.windowed_variance efficiently and accurately computes windowed variances.tfp.stats.cumulative_variance efficiently and accurately computes cumulative variances.RunningCovariance and friends can now be initialized from an example Tensor, not just from explicit shape and dtype.RunningCentralMoments, RunningMean, RunningPotentialScaleReduction.STS
tf.function wrapping.LinearGaussianSSM when only the final step's results are required.Other
sanitize_seed is now available in the tfp.random namespace.tfp.random.spherical_uniform.This is the RC0 release candidate of the TensorFlow Probability 0.13 release.
This is the RC0 release candidate of the TensorFlow Probability 0.13 release.
It is tested against TensorFlow 2.5.0.
This is the 0.12.2 release of TensorFlow Probability, a patch release to cap the JAX dependency to a compatible version. It is tested and stable again
This is the 0.12.2 release of TensorFlow Probability, a patch release to cap the JAX dependency to a compatible version. It is tested and stable against TensorFlow version 2.4.0.
For detailed change notes, please see the 0.12.1 release at https://github.com/tensorflow/probability/releases/tag/v0.12.1 .
Add `Ascending` bijector and deprecate Ordered.
This is the 0.12.1 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.4.0.
NOTE: Links point to examples in the TFP 0.12.1 release Colab.
Bijectors:
tfp.bijectors.Glow.RayleighCDF bijector.Ascending bijector and deprecate Ordered.low parameter to the Softplus bijector.ScaleMatvecLinearOperator bijector to wrap blockwise LinearOperators to form a multipart bijectors.Blockwise.Distributions:
HiddenMarkovModel.num_states property.batch_shape and event_shape arguments of TransformedDistribution.Skellam distribution.JointDistributionCoroutine{AutoBatched} now uses namedtuples as the sample dtype.VonMisesFisher.entropy.ExpGamma and ExpInverseGamma distributions.JointDistribution*AutoBatched now support (reproducible) tensor seeds.Distribution.parameter_properties method.experimental_default_event_space_bijector now accepts additional arguments to pin some distribution parts.JointDistribution.experimental_pin and JointDistributionPinned.NegativeBinomial.experimental_from_mean_dispersion method.tfp.experimental.distribute, with DistributionStrategy-aware distributions that support cross-device likelihood computations.HiddenMarkovModel can now accept time varying observation distributions if time_varying_observation_distribution is set.Beta, Binomial, and NegativeBinomial CDF no longer returns nan outside the support.Mixture now ignores the use_static_graph parameter.)Mixture now computes standard deviations more accurately and robustly.nan samples generated by several distributions.Categorical distributions when logits contain -inf.Bernoulli.cdf.log_rate parameter to tfd.Gamma.LinearGaussianStateSpaceModel.MCMC:
tfp.experimental.mcmc.ProgressBarReducer.experimental.mcmc.sample_sequential_monte_carlo to use new MCMC stateless kernel API.tfp.experimental.stats.tfp.experimental.mcmc.{sample_fold,sample_chain} support warm restart.tfp.mcmc.potential_scale_reduction_factor.KernelBuilder and KernelOutputs to experimental.make_innermost_getter et al. with tfp.experimental.unnest utilities.VI:
Math + Stats:
tfp.math.bessel_ive, tfp.math.bessel_kve, tfp.math.log_bessel_ive.weights to tfp.stats.histogram.tfp.math.erfcinv.tfp.math.reduce_log_harmonic_mean_exp.Other:
tfp.math.psd_kernels.GeneralizedMaternKernel (generalizes MaternOneHalf, MaternThreeHalves and MaternFiveHalves).tfp.math.psd_kernels.Parabolic.tfp.experimental.unnest utilities for accessing nested attributes.sts.Sum.This is the 0.12.0 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.4.0.
This is the 0.12.0 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.4.0.
For detailed change notes, please see the 0.12.1 release at https://github.com/tensorflow/probability/releases/tag/v0.12.1 .
This is RC4 of the TensorFlow Probability 0.12 release. It is tested against TensorFlow 2.4.0-rc4.
This is RC4 of the TensorFlow Probability 0.12 release. It is tested against TensorFlow 2.4.0-rc4.
This is RC2 of the TensorFlow Probability 0.12 release. It is tested against TensorFlow 2.4.0-rc2.
This is RC2 of the TensorFlow Probability 0.12 release. It is tested against TensorFlow 2.4.0-rc2.
This is RC1 of the TensorFlow Probability 0.12 release. It is tested against TensorFlow 2.4.0-rc1.
This is RC1 of the TensorFlow Probability 0.12 release. It is tested against TensorFlow 2.4.0-rc1.
This is RC0 of the TensorFlow Probability 0.12 release. It is tested against TensorFlow 2.4.0-rc0.
This is RC0 of the TensorFlow Probability 0.12 release. It is tested against TensorFlow 2.4.0-rc0.
This is a patch release for compatibility with CloudPickle >= 1.3. It is tested and stable against TensorFlow version 2.3.0.
This is a patch release for compatibility with CloudPickle >= 1.3. It is tested and stable against TensorFlow version 2.3.0.
Possibly breaking change: SeedStream seed argument may not be a Tensor.
This is the 0.11 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.3.0.
Links point to examples in the TFP 0.11.0 release Colab.
Distributions
JointDistribution*AutoBatched instances.Weibull distribution.TruncatedCauchy distribution.SphericalUniform distribution.PowerSpherical distribution.LogLogistic distribution.Bates distribution.GeneralizedNormal distribution.JohnsonSU distribution.ContinuousBernoulli distribution.MultivariateNormalDiagPlusLowRank and make it tape-safer; remove deprecation.KL(PowerSpherical || VonMisesFisher)KL(PowerSpherical || UniformSpherical), PowerSpherical.entropy and SphericalUniform.entropyGamma samples with respect to rate parameter.Distribution.{log_}survival_function if log_cdf is implemented but cdf is not.Distributions that were subtracting lgammas under the hood.Multinomial log_prob when classes have zero probability.Multinomial sampler when total_count is high.Binomial sampling and log_prob for large counts and small probabilities.Binomial will no longer emit samples below 0 or above total_count.nan handling for Bates log_prob and cdf.JointDistribution*.sample().Bijectors:
Split bijector.GompertzCDF and ShiftedGompertzCDF bijectorsSinh bijector.Scale bijector can take in log_scale parameter.Blockwise now supports size changing bijectors.AutoregressiveNetwork.MCMC:
tfp.mcmc now supports stateless sampling. tfp.mcmc.sample_chain(..., seed=(1,2)) is expected to always return the same results (within a release), and is deterministic (provided the underlying kernel is deterministic).TransformedTransitionKernel nests properly with itself and other wrapper kernels.Structured time series:
Math:
tfp.math.bessel_iv_ratio for ratios of modified bessel functions of the first kind.round_exponential_bump_function added to tfp.math.num_steps and custom convergence_criteria in tfp.math.minimize.tfp.math.log_cosh.lbeta and log_gamma_difference.Jax/Numpy substrates:
MaskedAutogregressiveFlow to Numpy and JAX.Experimental:
Distributions as CompositeTensors.tfp.vi.fit_surrogate_posterior.Other:
tfp.random.split_seed for stateless sampling. Moved tfp.math.random_{rademacher,rayleigh} to tfp.random.{rademacher,rayleigh}.SeedStream seed argument may not be a Tensor.This is RC1 of the TensorFlow Probability 0.11 release. It is tested against TensorFlow 2.3.0-rc2.
This is RC1 of the TensorFlow Probability 0.11 release. It is tested against TensorFlow 2.3.0-rc2.
This is RC0 of the TensorFlow Probability 0.11 release. It is tested against TensorFlow 2.3.0-rc1.
This is RC0 of the TensorFlow Probability 0.11 release. It is tested against TensorFlow 2.3.0-rc1.
This is a patch release to pin the CloudPickle version to 1.3 to address #991 . It is tested and stable against TensorFlow version 2.2.0.
This is a patch release to pin the CloudPickle version to 1.3 to address #991 . It is tested and stable against TensorFlow version 2.2.0.
Breaking change: Removed a number of functions, methods, and classes that were deprecated in TensorFlow Probability 0.9.0 or earlier.
This is the 0.10 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.2.0.
Distributions
AutoBatched joint distribution variants that treat a joint sample as a single probabilistic event.total_count. Additionally, since the previous solver required memory proportional to total_count*num_samples, many problems which OOM'd before are now feasible.get_logits_and_probs from internal/distribution_util.Bijectors
MCMC
Optimizer
Stats
tfp.stats.expected_calibration_error_quantiles.Math
scan_associative function, implementing parallel prefix scan of tensors with a user-provided binary operation.Breaking change: Removed a number of functions, methods, and classes that were deprecated in TensorFlow Probability 0.9.0 or earlier.
tfp.sts.build_factored_variational_loss.tfb.Gumbel -- use tfb.GumbelCDF.Other
This is RC1 of the TensorFlow Probability 0.10 release. It is tested against TensorFlow 2.2.0-rc4.
This is RC1 of the TensorFlow Probability 0.10 release. It is tested against TensorFlow 2.2.0-rc4.
This is the RC0 release candidate of the Tensorflow Probability 0.10 release. It is tested against Tensorflow 2.2.0-rc3.
This is the RC0 release candidate of the Tensorflow Probability 0.10 release. It is tested against Tensorflow 2.2.0-rc3.
Breaking change: Remove deprecated behavior of Poisson.rate and Poisson.log_rate.
This is the 0.9 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.1.0.
NOTE: The 0.9 releases of TensorFlow Probability will be the last to support Python 2. Future versions of TensorFlow Probability will require Python 3.5 or later.
Distributions
Poisson.rate and Poisson.log_rate.logits, probs properties._default_event_space_bijector to distributions.JointDistribution.prob and JointDistribution.log_prob.OrderedDict dtype in JointDistributionNamed.tfd.BatchReshape is tape-safecdf, survival_function, and quantile for TransformedDistributions having decreasing bijectors.Bijectors
_is_increasing if using cdf/survival_function/quantile on TransformedDistribution. This supports resolution of a long-standing bug, e.g. tfb.Scale(scale=-1.)(tfd.HalfNormal(0,1)).cdf was incorrect.tfb.SoftfloorMCMC
STS
Breaking change: Removed a number of functions, methods, and classes that were deprecated in TensorFlow Probability 0.8.0 or earlier.
trainable_distributions_lib.tfb.AutoregressiveLayer -- use tfb.AutoregressiveNetwork.tfp.distributions.* methods.tfp.distributions.moving_mean_variance.tfp.vi functions.tfp.distributions.SeedStream -- use tfp.util.SeedStream.tfd.Categorical.Other
make_rank_polymorphic utility, which lifts a callable to a vectorized callable.tfp.vi.build_factored_surrogate_posterior utility for automatic black-box variational inference.Support TF2/Eager-mode fitting of STS models, and deprecate build_factored_variational_loss.
This is the 0.8 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.0.0 and 1.15.0rc1.
GPU-friendly "unrolled" NUTS: tfp.mcmc.NoUTurnSampler
previous_kernel_results in unrolled NUTS so that it works with *_step_size_adaptation.MCMC
tfp.monte_carlo.expectation.VI
monte_carlo_csiszar_f_divergence.monte_carlo_csiszar_f_divergence to monte_carlo_variational_loss.Distributions
tfp.distributions.GeneralizedParetonum_steps in HiddenMarkovModeltfp.util.DeferredTensor to delay Tensor operations on tf.Variables (also works for tf.Tensors).probs_parameter, logits_parameter member functions to Categorical-like distributions. In the future users should use these new functions rather than probs/logits properties because the properties might be None if that's how the distribution was parameterized.Bijectors
log_scale parameter to AffineScalar bijector.tfp.bijectors.RationalQuadraticSpline.Experimental auto-batching system: tfp.experimental.auto_batching
STS
build_factored_variational_loss.Layers
tf.keras.model.save_model and model.save now defaults to saving a TensorFlow SavedModel.Stats/Math
tfp.math.minimize.This is the RC0 release candidate of the TensorFlow Probability 0.8 release.
This is the RC0 release candidate of the TensorFlow Probability 0.8 release.
It is tested against TensorFlow 2.0.0-rc0
Nothing published for this version
This is the 0.7.0-rc0 release of TensorFlow Probability. It is tested and stable against TensorFlow version 1.14-rc0 and 2.0.0-alpha
This is the 0.7.0-rc0 release of TensorFlow Probability. It is tested and stable against TensorFlow version 1.14-rc0 and 2.0.0-alpha
This is the 0.6 release of TensorFlow Probability. It is tested and stable against TensorFlow version 1.13.1.
This is the 0.6 release of TensorFlow Probability. It is tested and stable against TensorFlow version 1.13.1.
make_value_setter interceptor to set values of Edward2 random variables.forward(x) or inverse(y) with the same x or y value.tfp.Distribution -> tfd.Distribution.posterior_marginals to HiddenMarkovModelnum_adaptation_steps argument to make_simple_step_size_update_policy.tfp.layers.DistributionLambda to enable plumbing tfd.Distribution instances through Keras models.tfb.Exp(tfd.Normal(0,1)).This is the 0.6.0-rc1 release candidate of TensorFlow Probability. It is tested against TensorFlow 1.13.0-rc2.
This is the 0.6.0-rc1 release candidate of TensorFlow Probability. It is tested against TensorFlow 1.13.0-rc2.
This is the RC0 release candidate of the TensorFlow Probability 0.6 release.
This is the RC0 release candidate of the TensorFlow Probability 0.6 release.
It is tested against TensorFlow 1.13.0-rc0
All Distributions have been relocated from tf.distributions to tfp.distributions (the ones in TF are deprecated and will be deleted in TF 2.0).
This is the 0.5.0 release of TensorFlow Probability. It's tested and stable against TensorFlow 1.12.
As of this release, we no longer package a separate GPU-specific build. Users can select the version of TensorFlow they wish to use (CPU or GPU), and TensorFlow Probability will work with both.
As a result, we no longer explicitly list a TensorFlow dependency in our package requirements (since we can't know which version the user will want). If TFP is installed with no TensorFlow package present, or with an unsupported TensorFlow version, we will issue an ImportError at time of import.
Distributions have been relocated from tf.distributions to tfp.distributions (the ones in TF are deprecated and will be deleted in TF 2.0).This is the RC1 release candidate of the TensorFlow Probability 0.5 release.
This is the RC1 release candidate of the TensorFlow Probability 0.5 release.
It is tested against TensorFlow 1.12.0-rc2
This is the RC0 release candidate of the TensorFlow Probability 0.5 release.
This is the RC0 release candidate of the TensorFlow Probability 0.5 release.
It is tested against TensorFlow 1.12.0-rc2
All TF core Distributions now live in TFP (old ones are deprecated but still there)
This is the 0.4.0 release of TensorFlow Probability. It's tested and stable against TensorFlow 1.11.
Independenttape interceptor in Edward2This is the 0th release candidate of the 0.4.0 release of TensorFlow Probability.
This is the 0th release candidate of the 0.4.0 release of TensorFlow Probability.
It is tested against TensorFlow v1.11.0
This is the 0.3.0 release of TensorFlow Probability. It's tested and stable against TensorFlow 1.10.
This is the 0.3.0 release of TensorFlow Probability. It's tested and stable against TensorFlow 1.10.
tfp.bijectors.Transpose.adjoint arg to tfp.bijectors.Affine.kernel_results.accepted.target_log_prob).
tfp.math.random_rayleigh.This is the rc1 release. We never actually built rc1, since we needed to cherrypick a few more things.
This is the rc1 release. We never actually built rc1, since we needed to cherrypick a few more things.
This release is tested against TensorFlow v1.10.0
This is the 0.2 release of TensorFlow Probability, our first versioned release.
This is the 0.2 release of TensorFlow Probability, our first versioned release.
It is tested against TensorFlow 1.9.0.
This is release candidate rc0, of our 0.2 release of TensorFlow Probability.
This is release candidate rc0, of our 0.2 release of TensorFlow Probability.
It is tested against TensorFlow 1.9.0.
This is release candidate rc1, of our first versioned release of TensorFlow Probability.
This is release candidate rc1, of our first versioned release of TensorFlow Probability.
It is tested against TensorFlow 1.9.0-rc1.
This is the 0th release candidate our first versioned release of TensorFlow Probability.
This is the 0th release candidate our first versioned release of TensorFlow Probability.
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →