class_docstr: Most tests done in the base class LinearOperatorDerivedClassTest.
code: def test_different_dtypes_raises(self):
      operators = [
          linalg.LinearOperatorFullMatrix(rng.rand(2, 3, 3)),
          linalg.LinearOperatorFullMatrix(
              rng.rand(2, 3, 3).astype(np.float32)
          ),
      ]
      with self.assertRaisesRegex(TypeError, "same dtype"):
          linalg.LinearOperatorComposition(operators)
  
imports: import numpy
  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.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 9 for calling the SquareLinearOperatorCompositionTest obj's underlying member method code with example usage: obj.test_different_dtypes_raises() without return types