-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
How to fix this deprecated function with recent tfp ?
71 self.logisitc_match = tfb.Chain(
---> 72 [tfb.AffineScalar(shift=tf.cast(0, tf.float64), scale=tf.cast(1, tf.float64)), tfb.Sigmoid()])
AttributeError: module 'tensorflow_probability.python.bijectors' has no attribute 'AffineScalar'
proposal is to replace by shift function but it's exactly same function as in line for logistic_gap ...
self.logistic_gap = tfb.Chain(
[tfb.Shift(tf.cast(0, tf.float64))(tfb.Scale(tf.cast(1, tf.float64))), tfb.Sigmoid()])
self.logisitc_match = tfb.Chain(
[tfb.Shift(tf.cast(0, tf.float64))(tfb.Scale(tf.cast(1, tf.float64))), tfb.Sigmoid()])
any idea ?
Metadata
Metadata
Assignees
Labels
No labels