Attend the Women in ML Symposium on December 7 Register now

tfp.experimental.distributions.marginal_fns.ps.tensorshape_util.assert_is_compatible_with

Stay organized with collections Save and categorize content based on your preferences.

Raises exception if x and other do not represent the same shape.

This method can be used to assert that there exists a shape that both x and other represent.

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

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

None

ValueError If x and other do not represent the same shape.