View source on GitHub |
Returns True
iff x
is compatible with other
.
tfp.experimental.distributions.marginal_fns.ps.tensorshape_util.is_compatible_with(
x, other
)
For more details, see help(tf.TensorShape.is_compatible_with)
.
Args | |
---|---|
x
|
object representing a shape; convertible to tf.TensorShape .
|
other
|
object representing a shape; convertible to tf.TensorShape .
|
Returns | |
---|---|
is_compatible
|
bool indicating of the shapes are compatible.
|