We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With code from the HMC docs, pyright throws an error on the typing.
import blackjax from jax import numpy as jnp def f(x, key): return 0 hmc = blackjax.hmc( f, 1.0, jnp.array(1.0), 1 ) x = hmc.init(jnp.array(1.0))
yields
- error: Argument missing for parameter "rng_key" (reportCallIssue) 1 error, 0 warnings, 0 informations
This is based on the code from https://blackjax-devs.github.io/blackjax/autoapi/blackjax/mcmc/hmc/index.html#blackjax.mcmc.hmc.init.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
With code from the HMC docs, pyright throws an error on the typing.
yields
This is based on the code from https://blackjax-devs.github.io/blackjax/autoapi/blackjax/mcmc/hmc/index.html#blackjax.mcmc.hmc.init.
The text was updated successfully, but these errors were encountered: