code: def get_percentile(a_array, low_percent, high_percent):
      """
      get_percentile
      :param low_percent:
      :param high_percent:
      :return:
      """
      array_p0 = min(a_array)
      array_p100 = max(a_array)
      array_plow = np.percentile(a_array, low_percent)
      array_phigh = np.percentile(a_array, high_percent)
      logger.info(
          "array_percentile(0): {},array_percentile low({}): {}, "
          "array_percentile high({}): {}, array_percentile 100: {}".format(
              array_p0,
              low_percent,
              array_plow,
              high_percent,
              array_phigh,
              array_p100,
          )
      )
      return array_plow, array_phigh
  
file_path: PaddleDetection/tools/sniper_params_stats.py
imports: import sys
  import json
  import logging
  import numpy
  from ppdet.utils.logger import setup_logger
label_desc: Use image node_id 5 for calling a global function with example usage: get_percentile(a_array, low_percent, high_percent) and returns: array_plow,  array_phigh