code: def create_load_model_response(code, message):
      """
      Create load model response.
  
      :param code:
      :param message:
      :return:
      """
      msg = bytearray()
      msg += struct.pack("!i", code)
  
      buf = message.encode("utf-8")
      msg += struct.pack("!i", len(buf))
      msg += buf
      msg += struct.pack("!i", -1)  # no predictions
  
      return msg
  
imports: import io
  import json
  import logging
  import os
  import struct
  import sys
  import time
  from builtins import bytearray, bytes
  import torch
  from ts.utils.util import deprecated
label_desc: Use image node_id 4 for calling a global function with example usage: create_load_model_response(code, message) and returns: msg