code: def convert_squeeze(node, **kwargs):
      """Map MXNet's squeeze operator attributes to onnx's squeeze operator
      and return the created node.
      """
      name, input_nodes, attrs = get_inputs(node, kwargs)
  
      mx_axis = str(attrs.get("axis", "None"))
      axes = (
          convert_string_to_list(mx_axis) if mx_axis != "None" else None
      )
  
      if not axes:
          node = onnx.helper.make_node(
              "Squeeze", input_nodes, [name], name=name
          )
      else:
          create_tensor(axes, name + "_axes", kwargs["initializer"])
          node = onnx.helper.make_node(
              "Squeeze",
              [input_nodes[0], name + "_axes"],
              [name],
              name=name,
          )
      return [node]
  
imports: import re
  import logging
  import numpy
  from .._export_onnx import MXNetGraph
label_desc: Use image node_id 31 for calling a global function with example usage: convert_squeeze(node) and returns: list