Skip to content

Commit c6c36e4

Browse files
davmretensorflower-gardener
authored andcommitted
Fix typo in HighwayFlow docstring.
PiperOrigin-RevId: 376077807
1 parent f3106b2 commit c6c36e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_probability/python/experimental/bijectors/highway_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class HighwayFlow(tfb.Bijector):
155155
156156
dim = 4 # last input dimension
157157
158-
bijector = build_trainable_highway_flow(dim, activation_fn=True)
158+
bijector = build_trainable_highway_flow(dim, activation_fn=tf.nn.softplus)
159159
y = bijector.forward(x) # forward mapping
160160
x = bijector.inverse(y) # inverse mapping
161161
base = tfd.MultivariateNormalDiag(loc=tf.zeros(dim)) # Base distribution

0 commit comments

Comments
 (0)