class_docstr: Test cases for binary operators.
code: def testBatchMatMulMixedPrecision(self):
      # Verify that accumulation happens in the specified output type int32 by
      # using a result (16 * 16 * 16) that doesn't fit in int8.
      self._testBinary(
          lambda x, y: math_ops.matmul(x, y, output_type=np.int32),
          np.tile(np.array([[[16]]], dtype=np.int8), (1, 1, 16)),
          np.tile(np.array([[[16]]], dtype=np.int8), (1, 16, 1)),
          expected=np.array([[[16 * 16 * 16]]], dtype=np.int32),
      )
  
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 28 for calling the BinaryOpsTest obj's underlying member method code with example usage: obj.testBatchMatMulMixedPrecision() without return types