class_docstr: Most tests done in the base class LinearOperatorDerivedClassTest.
class_docstr_tok: ["Most","tests","done","in","the","base","class","LinearOperatorDerivedClassTest","."]
code: def test_convert_variables_to_tensors(self):
      matrices = []
      for _ in range(3):
          matrices.append(
              variables_module.Variable(
                  linear_operator_test_util.random_positive_definite_matrix(
                      [3, 3],
                      dtype=dtypes.float32,
                      force_well_conditioned=True,
                  )
              )
          )
  
      operator = block_diag.LinearOperatorBlockDiag(
          [
              linalg.LinearOperatorFullMatrix(
                  matrix,
                  is_self_adjoint=True,
                  is_positive_definite=True,
              )
              for matrix in matrices
          ],
          is_self_adjoint=True,
          is_positive_definite=True,
      )
      with self.cached_session() as sess:
          sess.run([x.initializer for x in operator.variables])
          self.check_convert_variables_to_tensors(operator)
  
imports: import numpy
  from tensorflow.python.eager import backprop
  from tensorflow.python.eager import context
  from tensorflow.python.framework import config
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_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_block_diag
  from tensorflow.python.ops.linalg import linear_operator_lower_triangular
  from tensorflow.python.ops.linalg import linear_operator_test_util
  from tensorflow.python.ops.linalg import linear_operator_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 17 for calling the SquareLinearOperatorBlockDiagTest obj's underlying member method code with example usage: obj.test_convert_variables_to_tensors() without return types