bayespy.utils.misc.multiply_shapes

bayespy.utils.misc.multiply_shapes(*shapes)[source]

Compute element-wise product of lists/tuples.

Shorter lists are concatenated with leading 1s in order to get lists with the same length.