class_docstr: Tests for slicing LinearOperators.
code: def test_slice_nested_operator(self):
      linop = linalg.LinearOperatorKronecker(
          [
              linalg.LinearOperatorBlockDiag(
                  [
                      linalg.LinearOperatorDiag(
                          array_ops.ones([1, 2, 2])
                      ),
                      linalg.LinearOperatorDiag(
                          array_ops.ones([3, 5, 2, 2])
                      ),
                  ]
              ),
              linalg.LinearOperatorFullMatrix(
                  linear_operator_test_util.random_normal(
                      shape=[4, 1, 1, 1, 3, 3], dtype=dtypes.float32
                  )
              ),
          ]
      )
      self.assertAllEqual(linop[0, ...].batch_shape_tensor(), [3, 5, 2])
      self.assertAllEqual(
          linop[0, ..., array_ops.newaxis].batch_shape_tensor(),
          [3, 5, 2, 1],
      )
      self.assertAllEqual(
          linop[..., array_ops.newaxis].batch_shape_tensor(),
          [4, 3, 5, 2, 1],
      )
  
imports: from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops.linalg import linalg
  from tensorflow.python.ops.linalg import linear_operator_test_util
  from tensorflow.python.ops.linalg import slicing
  from tensorflow.python.platform import test
label_desc: Use image node_id 18 for calling the SlicingTest obj's underlying member method code with example usage: obj.test_slice_nested_operator() without return types