class_docstr: Kernels who don't depend on the value of the inputs are 'Static'.  The only
  parameter is a variance, σ².
code: def K_diag(self, X: TensorType) -> tf.Tensor:
      return tf.fill(tf.shape(X)[:-1], tf.squeeze(self.variance))
  
file_path: GPflow/gpflow/kernels/statics.py
imports: from typing import Optional
  import tensorflow
  from check_shapes import check_shapes, inherit_check_shapes
  from ..base import Parameter, TensorType
  from ..utilities import positive
  from .base import ActiveDims, Kernel
label_desc: Use image node_id 2 for calling the Static obj's underlying member method code with example usage: obj.K_diag(X) and returns: tf