bayespy.inference.vmp.nodes.constant.Constant¶
- class bayespy.inference.vmp.nodes.constant.Constant(moments, x, **kwargs)[source]¶
- Node for presenting constant values. - The node wraps arrays into proper node type. - Methods - __init__(moments, x, **kwargs)- add_plate_axis(to_plate)- broadcasting_multiplier(plates, *args)- delete()- Delete this node and the children - get_mask()- get_shape(ind)- Return True if the node has a plotter - lower_bound_contribution([gradient])- move_plates(from_plate, to_plate)- plot([fig])- Plot the node distribution using the plotter of the node - random()- set_plotter(plotter)- set_value(x)- Attributes - Plate multiplier is applied to messages to parents