No, pytorch is basically a framework for array computations, not a “probabilistic programming language” by itself. “distributions” module has a limited scope and won’t help you with priors, there is pyro project, more suitable for Bayesian models, though I don’t like its slowness.