class_docstr: Most tests done in the base class LinearOperatorDerivedClassTest.
code: def test_tape_safe(self):
      diagonals = [
          variables_module.Variable([3.0, 6.0, 2.0]),
          variables_module.Variable([2.0, 4.0, 2.0]),
          variables_module.Variable([5.0, 1.0, 2.0]),
      ]
      operator = linalg_lib.LinearOperatorTridiag(
          diagonals, diagonals_format="sequence"
      )
      # Skip the diagonal part and trace since this only dependent on the
      # middle variable. We test this below.
      self.check_tape_safe(
          operator, skip_options=["diag_part", "trace"]
      )
  
      diagonals = [
          [3.0, 6.0, 2.0],
          variables_module.Variable([2.0, 4.0, 2.0]),
          [5.0, 1.0, 2.0],
      ]
      operator = linalg_lib.LinearOperatorTridiag(
          diagonals, diagonals_format="sequence"
      )
  
imports: from tensorflow.python.framework import config
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.ops import gen_array_ops
  from tensorflow.python.ops import manip_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.ops.linalg import linalg
  from tensorflow.python.ops.linalg import linear_operator_test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the LinearOperatorTriDiagSequenceTest obj's underlying member method code with example usage: obj.test_tape_safe() without return types