File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
tensorflow_probability/python/distributions Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 32
32
from tensorflow_probability .python .internal import reparameterization
33
33
from tensorflow_probability .python .internal import samplers
34
34
from tensorflow_probability .python .internal import tensor_util
35
- from tensorflow .python .util import deprecation # pylint: disable=g-direct-tensorflow-import
36
35
37
36
38
37
def _log_xexp_ratio (x ):
@@ -118,14 +117,10 @@ class ContinuousBernoulli(distribution.AutoCompositeTensorDistribution):
118
117
https://arxiv.org/abs/1907.06845
119
118
"""
120
119
121
- @deprecation .deprecated_args (
122
- '2021-03-09' , 'The `lims` argument is deprecated.'
123
- ' ContinuousBernoulli ignores this parameter.' , 'lims' )
124
120
def __init__ (
125
121
self ,
126
122
logits = None ,
127
123
probs = None ,
128
- lims = (0.499 , 0.501 ),
129
124
dtype = tf .float32 ,
130
125
validate_args = False ,
131
126
allow_nan_stats = True ,
@@ -143,7 +138,6 @@ def __init__(
143
138
continuous Bernoulli distribution. Only one of `logits` or `probs`
144
139
should be passed in. Note that this also does not correspond to a
145
140
probability as in the Bernoulli case.
146
- lims: Deprecated. Is not needed for numerical stability anymore.
147
141
dtype: The type of the event samples. Default: `float32`.
148
142
validate_args: Python `bool`, default `False`. When `True`
149
143
distribution parameters are checked for validity despite possibly
You can’t perform that action at this time.
0 commit comments