Deprecate `generate_all_posterior_samples` function
The purpose of this MR is to deprecate the generate_all_posterior_samples function. This is replaced with the convert method.
The purpose of this MR is to deprecate the generate_all_posterior_samples function. This is replaced with the convert method.