code: def testInvalidShapesEagerGpu(self):
      if test.is_built_with_rocm():
          self.skipTest("Incorrect Regex on rocm")
      if not test.is_gpu_available():
          self.skipTest("Test requires GPU")
      self._testErrorWithShapesEager(
          "Input must have rank >= 2, but got ", [2], [2], [2], [2]
      )
      self._testErrorWithShapesEager(
          "superdiag must have same rank as rhs, but got 3 and 2",
          [2, 1, 2],
          [2, 1],
          [2, 1],
          [2, 2],
      )
      self._testErrorWithShapesEager(
          "maindiag must have same outer dimensions as rhs, but for index 0, got "
          "3 and 2",
          [2, 1, 2],
          [3, 1, 2],
          [2, 1, 2],
          [2, 2, 2],
      )
      self._testErrorWithShapesEager(
          "subdiag's second-to-last dimension must be 1, but got 3",
          [2, 1, 2],
          [2, 1, 2],
          [2, 3, 2],
          [2, 2, 2],
      )
      self._testErrorWithShapesEager(
          "subdiag's last dimension size must be rhs's second-to-last dimension "
          "size, but got 3 and 2",
          [2, 1, 2],
          [2, 1, 2],
          [2, 1, 3],
          [2, 2, 2],
      )
  
imports: import itertools
  import numpy
  from tensorflow.python.client import session
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.ops import linalg_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.ops.linalg import linalg_impl
  from tensorflow.python.platform import benchmark
  from tensorflow.python.platform import test
label_desc: Use image node_id 13 for calling the TridiagonalMulOpTest obj's underlying member method code with example usage: obj.testInvalidShapesEagerGpu() without return types