code: def t(input_t):
      if type(input_t) is list:
          # insert into index 0 spot, such that the real data starts from index 1
          temp = [0]
          temp.extend(input_t)
          return dict(enumerate(temp))
      # if dictionary, return it back
      return input_t
  
file_path: BigDL/python/dllib/src/bigdl/dllib/models/inception/inception.py
imports: from bigdl.dllib.nn.layer import *
  from optparse import OptionParser
  from bigdl.dllib.nn.criterion import *
  from bigdl.dllib.nn.initialization_method import *
  from bigdl.dllib.optim.optimizer import *
  from bigdl.dllib.feature.transform.vision.image import *
  from bigdl.dllib.nncontext import *
  from bigdl.dllib.utils.utils import detect_conda_env_name
  import os
  from math import ceil
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 1 for calling a global function with example usage: t(input_t) and returns: input_t, dict