test_gaussian_bnn_posterior_cpu

Module Contents

Classes

TestGaussianBNNPosteriorCPU A suite of tests verifying that the input PDFs and the sample distributions
class test_gaussian_bnn_posterior_cpu.TestGaussianBNNPosteriorCPU(methodName='runTest')[source]

Bases: unittest.TestCase

A suite of tests verifying that the input PDFs and the sample distributions match.

test_diagonal_gaussian_bnn_posterior_cpu(self)[source]

Test the sampling of DiagonalGaussianBNNPosteriorCPU

test_low_rank_gaussian_bnn_posterior_cpu(self)[source]

Test the sampling of LowRankGaussianBNNPosteriorCPU

test_double_low_rank_gaussian_bnn_posterior_cpu(self)[source]

Test the sampling of DoubleLowRankGaussianBNNPosteriorCPU

Only compares the true and sample means

test_full_rank_gaussian_bnn_posterior_cpu(self)[source]

Test the sampling of FullRankGaussianBNNPosteriorCPU

test_double_gaussian_bnn_posterior_cpu(self)[source]

Test the sampling of DoubleGaussianBNNPosteriorCPU

Only compares the true and sample means