bayespy.inference.vmp.nodes.bernoulli.BernoulliDistribution.compute_moments_and_cgf

BernoulliDistribution.compute_moments_and_cgf(phi, mask=True)

Compute the moments and g(\phi).