code: def assert_increasing(tensor, identifier):
      """Assert if a `Tensor` is strictly increasing."""
      return tf.Assert(
          tf.reduce_all(tensor[1:] > tensor[:-1]),
          ["`{}` must be strictly increasing.".format(identifier)],
      )
  
imports: import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.math import gradient
  from tensorflow.python.util import nest
label_desc: Use image node_id 1 for calling a global function with example usage: assert_increasing(tensor, identifier) and returns: tf