code: def generate_proto_files():
      print("----------------------")
      print("Generating proto files")
      print("----------------------")
      proto_src = SINGA_SRC / "proto"
      cmd = "/usr/bin/protoc --proto_path={} --cpp_out={} {}".format(
          proto_src, proto_src, proto_src / "core.proto"
      )
      subprocess.run(cmd, shell=True, check=True)
  
      proto_hdr_dir = SINGA_HDR / "singa/proto"
      proto_hdr_file = proto_hdr_dir / "core.pb.h"
      if proto_hdr_dir.exists():
          if proto_hdr_file.exists():
              proto_hdr_file.unlink()
      else:
          proto_hdr_dir.mkdir()
  
      shutil.copyfile(Path(proto_src / "core.pb.h"), proto_hdr_file)
      return proto_hdr_file, proto_src / "core.pb.cc"
  
imports: from setuptools import find_packages, setup, Command, Extension
  from setuptools.command.build_ext import build_ext
  from distutils.errors import CompileError, DistutilsSetupError
  import os
  import io
  import sys
  import subprocess
  import shutil
  import shlex
  from pathlib import Path
  import numpy
  from datetime import date
label_desc: Use image node_id 4 for calling a global function with example usage: generate_proto_files() and returns: proto_hdr_file,  unknown