build_distribution#
jeanspy.sampler_numpyro.ParameterSpec.build_distribution
Class and construction: ParameterSpec.
- ParameterSpec.build_distribution()[source]#
Resolve an existing distribution or call a zero-argument factory.
Returns the supplied NumPyro distribution unchanged, or the factory result. Factory exceptions propagate; downstream NumPyro execution checks whether the result is a usable distribution.
- Return type: