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 1097e56 commit 732e7d1Copy full SHA for 732e7d1
spinoffs/fun_mc/fun_mc/malt.py
@@ -294,7 +294,7 @@ def orig_target_log_prob_fn(x):
294
)
295
if momentum_sample_fn is None:
296
momentum_sample_fn = lambda seed: fun_mc.gaussian_momentum_sample( # pylint: disable=g-long-lambda
297
- state=malt_state.state, seed=seed, named_axis=named_axis
+ state=malt_state.state, seed=seed, named_axis=named_axis # pytype: disable=attribute-error
298
299
if momentum_refresh_fn is None:
300
momentum_refresh_fn = lambda m, seed: _gaussian_momentum_refresh_fn( # pylint: disable=g-long-lambda
0 commit comments