Skip to content

Commit dcd59ed

Browse files
authored
Merge pull request #1199 from jburnim/r0.12
Prepare branch for the TFP 0.12.0 release
2 parents cc2c37e + 90fa3f0 commit dcd59ed

File tree

132 files changed

+4545
-1332
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+4545
-1332
lines changed

discussion/fun_mcmc/fun_mcmc_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,8 @@ def log_prob_fn(x, y):
371371
tfp.distributions.Normal(self._constant(1.), 1.).log_prob(y)), ()
372372

373373
bijectors = [
374-
tfp.bijectors.AffineScalar(scale=self._constant(2.)),
375-
tfp.bijectors.AffineScalar(scale=self._constant(3.))
374+
tfp.bijectors.Scale(scale=self._constant(2.)),
375+
tfp.bijectors.Scale(scale=self._constant(3.))
376376
]
377377

378378
(transformed_log_prob_fn,
@@ -398,8 +398,8 @@ def log_prob_fn(x, y):
398398
tfp.distributions.Normal(self._constant(1.), 1.).log_prob(y)), ()
399399

400400
bijectors = {
401-
'x': tfp.bijectors.AffineScalar(scale=self._constant(2.)),
402-
'y': tfp.bijectors.AffineScalar(scale=self._constant(3.))
401+
'x': tfp.bijectors.Scale(scale=self._constant(2.)),
402+
'y': tfp.bijectors.Scale(scale=self._constant(3.))
403403
}
404404

405405
(transformed_log_prob_fn,

spinoffs/oryx/oryx/core/interpreters/inverse/BUILD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ py_test(
9393
name = "inverse_test",
9494
srcs = ["inverse_test.py"],
9595
python_version = "PY3",
96+
# This test no longer works after cl/346850541, because no inverse is registered
97+
# for convert_element_type.
98+
tags = [
99+
"notap",
100+
],
96101
deps = [
97102
":core",
98103
":rules",

0 commit comments

Comments
 (0)