code: def main():
      """Main function"""
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--target", type=str, default="llvm", help="The build target"
      )
      parser.add_argument(
          "--target-host",
          type=str,
          default=None,
          help="The host code compilation target",
      )
      parser.add_argument(
          "--rpc-host",
          type=str,
          default="127.0.0.1",
          help="the hostname of the server",
      )
      parser.add_argument(
          "--rpc-port",
          type=int,
          default=9090,
          help="The port of the RPC",
      )
  
      args = parser.parse_args()
      logging.basicConfig(level=logging.INFO)
  
      args.target, args.target_host = Target.canon_target_and_host(
          args.target, args.target_host
      )
      measure_peak_all(
          args.target, args.target_host, args.rpc_host, args.rpc_port
      )
  
imports: import argparse
  import logging
  from tvm.target import Target
  from ..contrib.peak import measure_peak_all
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types