code: def test_conditional_variance__negative(
      setup: LikelihoodSetup,
  ) -> None:
      # We expect the negative parameter values to be clamped to the same value, so output should be
      # constant:
      cv = setup.likelihood.conditional_variance(
          Datum.X_negative, Datum.F
      )
      assert_constant(cv, axis=-2)
  
imports: from dataclasses import dataclass
  from typing import Any
  import numpy
  import pytest
  import tensorflow
  from check_shapes import ShapeChecker
  from gpflow.functions import Linear
  from gpflow.likelihoods import Beta, Gamma, Gaussian, ScalarLikelihood, StudentT
  from gpflow.utilities import to_default_float
label_desc: Use image node_id 11 for calling a global function with example usage: test_conditional_variance__negative(setup) without return types