code: def _get_l_infty_clip_fn():
      def l_infty_clip_fn(record_as_list, clip_value):
          def clip(record):
              return tf.clip_by_value(
                  record,
                  clip_value_min=-clip_value,
                  clip_value_max=clip_value,
              )
  
          clipped_record = tf.nest.map_structure(clip, record_as_list)
          return clipped_record
  
      return l_infty_clip_fn
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_privacy.privacy.dp_query import test_utils
  from tensorflow_privacy.privacy.dp_query import tree_aggregation
  from tensorflow_privacy.privacy.dp_query import tree_aggregation_query
label_desc: Use image node_id 5 for calling a global function with example usage: _get_l_infty_clip_fn() and returns: l_infty_clip_fn, clipped_record, tf