code: def register_model_and_make_inference_request():
      test_utils.register_model(
          "mnist_custom_metrics", "mnist_custom_metrics.mar"
      )
      data_file = os.path.join(
          test_utils.REPO_ROOT,
          "examples",
          "image_classifier",
          "mnist",
          "test_data",
          "0.png",
      )
      with open(data_file, "rb") as input_data:
          requests.post(
              url=f"http://localhost:8080/predictions/mnist_custom_metrics",
              data=input_data,
          )
  
imports: import glob
  import os
  import platform
  import re
  import shutil
  import subprocess
  import time
  from os import path
  import requests
  import test_utils
label_desc: Use image node_id 6 for calling a global function with example usage: register_model_and_make_inference_request() without return types