The generative (PyMC) graph can’t be cyclic, but neither can a Numpy expression so I don’t think you mean exactly that. Your step sampler can have two stages of dependency just fine however. The only thing PyMC cares about is that it returns the next accepted values after each step. What is done to achieve that is up to the step method.
1 Like