incerto.bayesian.sample_from_posterior# incerto.bayesian.sample_from_posterior(mean, variance, num_samples=1)[source]# Sample from a Gaussian posterior. Parameters: mean (Tensor) – Mean of the posterior variance (Tensor) – Variance of the posterior num_samples (int) – Number of samples to draw Return type: Tensor Returns: Samples of shape (num_samples, *mean.shape)