code: def test(self, use_cpu_only, backend, rank, op):
      shape = np.random.randint(low=1, high=4, size=rank)
      input_x = tf.keras.layers.Input(batch_input_shape=tuple(shape))
      input_y = tf.keras.layers.Input(batch_input_shape=tuple(shape))
      out = op()([input_x, input_y])
      model = tf.keras.Model(inputs=[input_x, input_y], outputs=out)
      run_compare_tf_keras(
          model,
          [random_gen(shape, -10, 10), random_gen(shape, -10, 10)],
          use_cpu_only=use_cpu_only,
          backend=backend,
      )
  
imports: import random
  from coremltools.converters.mil import testing_reqs
  from coremltools.converters.mil.frontend.tensorflow2.test.testing_utils import run_compare_tf_keras
  from coremltools.converters.mil.testing_reqs import *
label_desc: Use image node_id 1 for calling the TestBinary obj's underlying member method code with example usage: obj.test(use_cpu_only, backend, rank, op) without return types