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 5c13e76 commit 5338ae3Copy full SHA for 5338ae3
examples/no_u_turn_sampler/nuts.py
@@ -127,7 +127,7 @@ def kernel(target_log_prob_fn,
127
# Grow the No-U-Turn Sampler trajectory by choosing a random direction and
128
# simulating Hamiltonian dynamics in that direction. This extends either
129
# the forward or reverse state.
130
- direction = tfp.math.random_rademacher([1], seed=seed_stream())
+ direction = tfp.random.rademacher([1], seed=seed_stream())
131
if direction < 0:
132
[
133
reverse_state,
0 commit comments