code: def transform_fn(
      mod, payload, input_content_type, requested_output_content_type
  ):
      import neomx  # noqa: F401
  
      if input_content_type != "application/vnd+python.numpy+binary":
          raise RuntimeError(
              "Input content type must be application/vnd+python.numpy+binary"
          )
  
      inference_payload = np.asarray(
          json.loads(payload.decode("utf-8"))
      )
      result = mod.predict(inference_payload)
      result = np.squeeze(result)
      response_body = json.dumps(result.asnumpy().tolist())
      content_type = "application/json"
      return response_body, content_type
  
file_path: sagemaker-python-sdk/tests/data/mxnet_mnist/mnist_neo.py
imports: from __future__ import absolute_import
  import argparse
  import gzip
  import json
  import logging
  import os
  import struct
  import mxnet
  import numpy
label_desc: Use image node_id 7 for calling a global function with example usage: transform_fn(mod, payload, input_content_type, requested_output_content_type) and returns: response_body,  content_type