bayespy.inference.vmp.nodes.wishart.WishartMoments¶
- class bayespy.inference.vmp.nodes.wishart.WishartMoments(shape)[source]¶
-
Methods
__init__
(shape)add_converter
(moments_to, converter)compute_fixed_moments
(Lambda[, gradient])Compute moments for fixed x.
from_values
(x, ndim)Compute the dimensions of phi and u.
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.
plates_from_shape
(shape)shape_from_plates
(plates)