code: def _expectation_gaussian_constant__meanfunction(
      p: Gaussian,
      mean1: mfn.Constant,
      _: None,
      mean2: mfn.Constant,
      __: None,
      nghp: None = None,
  ) -> tf.Tensor:
      """
      Compute the expectation:
      expectation[n] = <m1(x_n)^T m2(x_n)>_p(x_n)
          - m1(.) :: Constant mean function
          - m2(.) :: General mean function
  
      :return: NxQ1xQ2
      """
      e_mean2 = expectation(p, mean2)
      return mean1(p.mu)[:, :, None] * e_mean2[:, None, :]
  
file_path: GPflow/gpflow/expectations/mean_functions.py
imports: from typing import Type, Union
  import tensorflow
  from check_shapes import check_shapes
  from ..None import mean_functions
  from ..probability_distributions import Gaussian
  from .None import dispatch
  from .expectations import expectation
label_desc: Use image node_id 3 for calling a global function with example usage: _expectation_gaussian_constant__meanfunction(p, mean1, _, mean2, __, nghp) and returns: unknown