code: def _assert_binary(
      x, y, comparator, sym, summarize=None, message=None, name=None
  ):
      del summarize
      del name
      x = ops.convert_to_tensor(x)
      y = ops.convert_to_tensor(y)
      if not np.all(comparator(x, y)):
          raise ValueError(
              "Condition x {} y did not hold element-wise. {}".format(
                  sym, message or ""
              )
          )
  
imports: import numpy
  import six
  from tensorflow_probability.python.internal.backend.numpy import _utils
  from tensorflow_probability.python.internal.backend.numpy import dtype
  from tensorflow_probability.python.internal.backend.numpy import ops
label_desc: Use image node_id 3 for calling a global function with example usage: _assert_binary(x, y, comparator, sym, summarize, message, name) without return types