class_docstr: A `tf.linalg.LinearOperator` representing a kernel covariance matrix.
class_docstr_tok: ["A","`","tf.linalg.LinearOperator","`","representing","a","kernel","covariance","matrix","."]
code: def _shape_tensor(self):
      x1, x2, axis, kernel = self._x1_x2_axis_kernel()
      batch_shape = functools.reduce(
          tf.broadcast_dynamic_shape,
          (
              kernel.batch_shape_tensor(),
              tf.shape(x1)[:axis],
              tf.shape(x2)[:axis],
          ),
      )
      return tf.concat(
          [batch_shape, [tf.shape(x1)[axis], tf.shape(x2)[axis]]],
          axis=0,
      )
  
imports: import functools
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import tensor_util
  from tensorflow.python.ops import control_flow_util
label_desc: Use image node_id 11 for calling the LinearOperatorPSDKernel obj's underlying member method code with example usage: obj._shape_tensor() and returns: tf