Skip to content

Commit b7fd44b

Browse files
emilyfertigtensorflower-gardener
authored andcommitted
Remove deprecated _experimental_default_event_space_bijector from tfd.Distribution (use experimental_default_event_space_bijector instead).
PiperOrigin-RevId: 378804741
1 parent 92497f4 commit b7fd44b

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

tensorflow_probability/python/bijectors/generalized_pareto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class GeneralizedPareto(bijector_lib.AutoCompositeTensorBijector):
4747
`x >= loc` if `concentration >= 0`
4848
`x >= loc` and `x <= loc + scale / abs(concentration)` if `concentration < 0`
4949
50-
This bijector is used as the `_experimental_default_event_space_bijector` of
50+
This bijector is used as the `experimental_default_event_space_bijector` of
5151
the `GeneralizedPareto` distribution.
5252
5353
"""

tensorflow_probability/python/distributions/distribution.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,12 +1762,6 @@ def _default_event_space_bijector(self, *args, **kwargs):
17621762
'_default_event_space_bijector` is not implemented: {}'.format(
17631763
type(self).__name__))
17641764

1765-
@deprecation.deprecated(
1766-
'2020-10-20',
1767-
'Use `experimental_default_event_space_bijector` instead.')
1768-
def _experimental_default_event_space_bijector(self, *args, **kwargs):
1769-
return self.experimental_default_event_space_bijector(*args, **kwargs)
1770-
17711765
def experimental_default_event_space_bijector(self, *args, **kwargs):
17721766
"""Bijector mapping the reals (R**n) to the event space of the distribution.
17731767

tensorflow_probability/python/distributions/hidden_markov_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ def _reduce_one_step():
11891189
# pylint: disable=protected-access
11901190
def _default_event_space_bijector(self):
11911191
return (self._observation_distribution.
1192-
_experimental_default_event_space_bijector())
1192+
experimental_default_event_space_bijector())
11931193
# pylint: enable=protected-access
11941194

11951195
def _parameter_control_dependencies(self, is_init):

0 commit comments

Comments
 (0)