bayespy.utils.misc.broadcasted_shape_from_arrays

bayespy.utils.misc.broadcasted_shape_from_arrays(*arrays)[source]

Computes the resulting broadcasted shape for a given set of arrays.

Raises an exception if the shapes do not broadcast.