We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3106b2 commit c6c36e4Copy full SHA for c6c36e4
tensorflow_probability/python/experimental/bijectors/highway_flow.py
@@ -155,7 +155,7 @@ class HighwayFlow(tfb.Bijector):
155
156
dim = 4 # last input dimension
157
158
- bijector = build_trainable_highway_flow(dim, activation_fn=True)
+ bijector = build_trainable_highway_flow(dim, activation_fn=tf.nn.softplus)
159
y = bijector.forward(x) # forward mapping
160
x = bijector.inverse(y) # inverse mapping
161
base = tfd.MultivariateNormalDiag(loc=tf.zeros(dim)) # Base distribution
0 commit comments