code: def assert_decreasing(x: tf.Tensor, *, axis: int) -> None:
      decreasing = diff(x, axis=axis) < 0
      assert tf.reduce_all(decreasing), x
  
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 2 for calling a global function with example usage: assert_decreasing(x) without return types