code: def analyze(args):
      env_info = get_sys_env()
      info = ["{}: {}".format(k, v) for k, v in env_info.items()]
      info = "\n".join(
          ["", format("Environment Information", "-^48s")]
          + info
          + ["-" * 48]
      )
      logger.info(info)
  
      paddle.set_device("cpu")
  
      cfg = Config(args.config)
      builder = SegBuilder(cfg)
  
      custom_ops = {paddle.nn.SyncBatchNorm: op_flops_funs.count_syncbn}
      inputs = paddle.randn(args.input_shape)
      _dynamic_flops(
          builder.model,
          inputs,
          custom_ops=custom_ops,
          print_detail=True,
      )
  
file_path: PaddleSeg/tools/model/analyze_model.py
imports: import argparse
  import os
  import sys
  import numpy
  import paddle
  from paddle.hapi.dynamic_flops import count_io_info, count_parameters, register_hooks
  from paddle.hapi.static_flops import Table
  from paddleseg.cvlibs import Config, SegBuilder
  from paddleseg.utils import get_sys_env, logger, op_flops_funs
label_desc: Use image node_id 3 for calling a global function with example usage: analyze(args) without return types