bayespy.inference.vmp.nodes.stochastic.Distribution.plates_to_parent

Distribution.plates_to_parent(index, plates)[source]

Resolves the plate mapping to a parent.

Given the plates of the node’s moments, this method returns the plates that the message to a parent has for the parent’s distribution.