code: def save_data_and_labels(test_data, test_labels, model_name):
      assert isinstance(test_data, mx.ndarray.ndarray.NDArray)
      assert isinstance(test_labels, mx.ndarray.ndarray.NDArray)
  
      save_path = os.path.join(
          get_model_path(model_name), "".join([model_name, "-data"])
      )
      mx.npx.savez(
          save_path, **{"data": test_data, "labels": test_labels}
      )
  
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 5 for calling a global function with example usage: save_data_and_labels(test_data, test_labels, model_name) without return types