Skip to content

Commit 827ea3d

Browse files
SiegeLordExtensorflower-gardener
authored andcommitted
FunMC: Add a name scope for the hmc_with_state_grads.
PiperOrigin-RevId: 377372672
1 parent 7911fc6 commit 827ea3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spinoffs/fun_mc/fun_mc/prefab.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@ class HamiltonianMonteCarloWithStateGradsExtra(NamedTuple):
662662
proposed_state: 'fun_mc.State'
663663

664664

665+
@util.named_call
665666
def hamiltonian_monte_carlo_with_state_grads_step(
666667
hmc_state: 'fun_mc.HamiltonianMonteCarloState',
667668
trajectory_length: 'fun_mc.FloatTensor',

0 commit comments

Comments
 (0)