code: def transpose_shape(shape, dst_order):
      t_shape = [0] * len(shape)
      for i in range(len(shape)):
          t_shape[i] = shape[dst_order[i]]
      return t_shape
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import copy
  import sys
  from micro_converter import MicroConverter
  from py_proto import mace_pb2
  from utils import config_parser
  from utils.config_parser import DataFormat
  from utils.config_parser import DeviceType
  from utils.config_parser import Platform
  from utils import util
  from utils.util import mace_check
  from utils.config_parser import normalize_model_config
  from utils.config_parser import ModelKeys
  from utils.convert_util import merge_params
  from transform import base_converter
  from transform import transformer
  from visualize import visualize_model
label_desc: Use image node_id 1 for calling a global function with example usage: transpose_shape(shape, dst_order) and returns: t_shape