code: def is_support_collecting():
      return hasattr(
          PredictConfig, "collect_shape_range_info"
      ) and hasattr(
          PredictConfig, "enable_tuned_tensorrt_dynamic_shape"
      )
  
file_path: PaddleSeg/deploy/python/collect_dynamic_shape.py
imports: import argparse
  import os
  import numpy
  from paddle.inference import create_predictor
  from paddle.inference import Config
  from paddleseg.utils import logger, get_image_list, progbar
  from paddleseg.deploy.infer import DeployConfig
label_desc: Use image node_id 2 for calling a global function with example usage: is_support_collecting() and returns: unknown