code: def _validate_arguments(x_data):
      """Checks that input arguments are in the non-decreasing order."""
      diffs = x_data[..., 1:] - x_data[..., :-1]
      return tf.compat.v1.debugging.assert_greater_equal(
          diffs,
          tf.zeros_like(diffs),
          message="x_data is not sorted in non-decreasing order.",
      )
  
file_path: tf-quant-finance/tf_quant_finance/math/interpolation/cubic/cubic_interpolation.py
imports: import enum
  import tensorflow.compat.v2
  from tf_quant_finance import types
  from tf_quant_finance import utils
label_desc: Use image node_id 6 for calling a global function with example usage: _validate_arguments(x_data) and returns: tf