class_docstr: Test cases for binary operators.
code: def _testMatMul(self, op, test_dtypes):
      for dtype in test_dtypes:
          self._testBinary(
              op,
              np.array([[-0.25]], dtype=dtype),
              np.array([[8]], dtype=dtype),
              expected=np.array([[-2]], dtype=dtype),
          )
          self._testBinary(
              op,
              np.array([[100, 10, 0.5]], dtype=dtype),
              np.array([[1, 3], [2, 5], [6, 8]], dtype=dtype),
              expected=np.array([[123, 354]], dtype=dtype),
          )
          self._testBinary(
              op,
              np.array([[1, 3], [2, 5], [6, 8]], dtype=dtype),
              np.array([[100], [10]], dtype=dtype),
              expected=np.array([[130], [250], [680]], dtype=dtype),
          )
          self._testBinary(
              op,
              np.array([[1000, 100], [10, 1]], dtype=dtype),
              np.array([[1, 2], [3, 4]], dtype=dtype),
              expected=np.array([[1300, 2400], [13, 24]], dtype=dtype),
          )
  
          self._testBinary(
              op,
              np.array([], dtype=dtype).reshape((2, 0)),
              np.array([], dtype=dtype).reshape((0, 3)),
              expected=np.array([[0, 0, 0], [0, 0, 0]], dtype=dtype),
          )
  
imports: import itertools
  import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import bitwise_ops
  from tensorflow.python.ops import gen_array_ops
  from tensorflow.python.ops import gen_math_ops
  from tensorflow.python.ops import gen_nn_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import googletest
  from tensorflow.python.platform import test
label_desc: Use image node_id 24 for calling the BinaryOpsTest obj's underlying member method code with example usage: obj._testMatMul(op, test_dtypes) without return types