tensorflow_probability/python/distributions/mixture_same_family.py
def _outer_squared_difference(x, y):
  """Convenience function analogous to tf.squared_difference."""
  z = x - y
  return z[..., tf.newaxis, :] * z[..., tf.newaxis]
def _outer_squared_difference(x, y):
  z = x - y
  return z[..., tf.newaxis, :] * z[..., tf.newaxis]
def _outer_squared_difference ( x , y ) : z = x - y return z [ ... , tf . newaxis , : ] * z [ ... , tf . newaxis ]
Convenience function analogous to tf.squared_difference.
Convenience function analogous to tf . squared_difference .