Attend the Women in ML Symposium on December 7 Register now

tfp.experimental.distributions.marginal_fns.ps.tensorshape_util.is_compatible_with

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

Returns True iff x is compatible with other.

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

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

is_compatible bool indicating of the shapes are compatible.