code: def compare_versions(version1, version2):
      """
      https://stackoverflow.com/questions/1714027/version-number-comparison-in-python
      """
  
      def normalize(v):
          return [int(x) for x in re.sub(r"(\.0+)*$", "", v).split(".")]
  
      return cmp(normalize(version1), normalize(version2))
  
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 10 for calling a global function with example usage: compare_versions(version1, version2) and returns: cmp, unknown