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
import pymc as pm with pm.Model(coords_mutable={'i': [0]}) as m: beta_z = pm.ConstantData("beta_z", 0) beta_y = pm.ConstantData("beta_y", 0) z = pm.Bernoulli("z", p=pm.invlogit(beta_z), dims="i") y = pm.Normal("y", mu=beta_y + z, dims="i") assert m["beta_y"].name == "beta_y" assert m["beta_z"].name == "beta_z" pm.model_to_graphviz(m) assert m["beta_y"].name == "beta_y" assert m["beta_z"].name == "beta_z" # raises
Thin only happens with mutable coords, I imagine during evaluation.
The text was updated successfully, but these errors were encountered:
Actually this is a PyTensor issue: pymc-devs/pytensor#347
Sorry, something went wrong.
do
observe
Although possibly, model_graph could used the name in model.named_vars instead of the PyTensor variable name
model_graph
model.named_vars
AFAICT there is no requirement in PyTensor for this behavior. Should be fixed by pymc-devs/pytensor#348
No branches or pull requests
Description
Thin only happens with mutable coords, I imagine during evaluation.
The text was updated successfully, but these errors were encountered: