class_docstr: Most tests done in the base class LinearOperatorDerivedClassTest.
code: def test_convert_variables_to_tensors(self):
      diag = variables_module.Variable(
          [[3.0, 6.0, 2.0], [2.0, 4.0, 2.0], [5.0, 1.0, 2.0]]
      )
      operator = linalg_lib.LinearOperatorTridiag(
          diag, diagonals_format="compact"
      )
      with self.cached_session() as sess:
          sess.run([diag.initializer])
          self.check_convert_variables_to_tensors(operator)
  
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 5 for calling the LinearOperatorTriDiagCompactTest obj's underlying member method code with example usage: obj.test_convert_variables_to_tensors() without return types