code: def save_inference_results(inference_results, model_name):
      assert isinstance(inference_results, mx.ndarray.ndarray.NDArray)
      save_path = os.path.join(
          get_model_path(model_name),
          "".join([model_name, "-inference"]),
      )
  
      mx.npx.savez(save_path, **{"inference": inference_results})
  
imports: import boto3
  import mxnet
  import os
  import numpy
  import logging
  from mxnet import gluon
  from mxnet.gluon import nn
  import re
  from mxnet.test_utils import assert_almost_equal
label_desc: Use image node_id 3 for calling a global function with example usage: save_inference_results(inference_results, model_name) without return types