class_docstr: Test for tri-diagonal matrix related ops.
code: def testInvalidShapesSequenceFormat(self):
      def test_raises(diags_tuple_shapes, rhs_shape):
          diagonals = tuple(
              _tf_ones(shape) for shape in diags_tuple_shapes
          )
          self._assertRaises(diagonals, _tf_ones(rhs_shape), "sequence")
  
      test_raises(((5, 4), (5, 4)), (5, 4))
      test_raises(((5, 4), (5, 4), (5, 6)), (5, 4))
      test_raises(((5, 3), (5, 4), (5, 6)), (5, 4))
      test_raises(((5, 6), (5, 4), (5, 3)), (5, 4))
      test_raises(((5, 4), (7, 4), (5, 4)), (5, 4))
      test_raises(((5, 4), (7, 4), (5, 4)), (3, 4))
  
imports: import numpy
  from tensorflow.compiler.tests import xla_test
  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 test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradients
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.linalg import linalg_impl
  from tensorflow.python.platform import test
label_desc: Use image node_id 37 for calling the TridiagonalSolveOpsTest obj's underlying member method code with example usage: obj.testInvalidShapesSequenceFormat() without return types