code: def testMismatchedDimensions(self):
      with self.assertRaisesRegex(
          Exception,
          r"(Matrix size-incompatible: In\[0\]: .* In\[1\]|"
          r"Dimensions must be equal)",
      ):
          infix_matmul(
              ops.convert_to_tensor([[10.0, 20.0, 30.0]]),
              ops.convert_to_tensor([[40.0, 50.0], [60.0, 70.0]]),
          )
  
imports: import operator
  import numpy
  from tensorflow.python import tf2
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the MatMulInfixOperatorTest obj's underlying member method code with example usage: obj.testMismatchedDimensions() without return types