bayespy.inference.vmp.nodes.bernoulli.BernoulliMoments.from_values

classmethod BernoulliMoments.from_values(x)

Return the shape of the moments for a fixed value.

The realizations are scalars, thus the shape of the moment is ().