tfp.experimental.distributions.marginal_fns.ps.tensorshape_util.merge_with

Returns a shape combining the information in x and other.

The dimensions in x and other are merged elementwise, according to the rules defined for tf.Dimension.merge_with().

For more details, see help(tf.TensorShape.merge_with).

x object representing a shape; convertible to tf.TensorShape.
other object representing a shape; convertible to tf.TensorShape.

merged_shape shape having type(x) containing the combined information of x and other.

ValueError If x and other are not compatible.