class_docstr: Test for tri-diagonal matrix related ops.
code: def _testWithDiagonalLists(
      self,
      diags,
      rhs,
      expected,
      diags_format="compact",
      transpose_rhs=False,
  ):
      with self.session() as sess, self.test_scope():
          self.assertAllClose(
              sess.run(
                  linalg_impl.tridiagonal_solve(
                      [_tfconst(x) for x in diags],
                      _tfconst(rhs),
                      diags_format,
                      transpose_rhs,
                      conjugate_rhs=False,
                      partial_pivoting=False,
                  )
              ),
              sess.run(_tfconst(expected)),
          )
  
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 4 for calling the TridiagonalSolveOpsTest obj's underlying member method code with example usage: obj._testWithDiagonalLists(diags, rhs, expected, diags_format, transpose_rhs) without return types