bayespy.inference.vmp.nodes.gaussian.GaussianMoments¶
- class bayespy.inference.vmp.nodes.gaussian.GaussianMoments(shape)[source]¶
Class for the moments of Gaussian variables.
Methods
__init__(shape)add_converter(moments_to, converter)Compute the moments for a fixed value
from_values(x, ndim)Return the shape of the moments for a fixed value.
get_converter(moments_to)Finds conversion to another moments type if possible.
Override this method when moment class instances are not identical if they have different attributes.
get_instance_converter(ndim)Default converter within a moments class is an identity.