code: def normalize_input_data_types(conf, input_count):
      default_input_dt = conf.get(
          ModelKeys.data_type, mace_pb2.DT_FLOAT
      )
      if default_input_dt == mace_pb2.DT_HALF:
          default_input_dt = (
              mace_pb2.DT_FLOAT
          )  # Compatible with old version
      conf_input_dts = to_list(conf.get(ModelKeys.input_data_types, []))
      if len(conf_input_dts) == 0:
          input_data_types = [default_input_dt]
      else:
          input_data_types = [
              parse_data_type(dt) for dt in conf_input_dts
          ]
  
      if len(input_data_types) == 1 and input_count > 1:
          input_data_types = [input_data_types[0]] * input_count
      mace_check(
          len(input_data_types) == input_count,
          "the number of input_data_types should be "
          "the same as input tensors",
      )
      conf[ModelKeys.input_data_types] = input_data_types
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import re
  import os
  import copy
  import yaml
  from enum import Enum
  from utils import util
  from utils.util import mace_check
  from utils.util import MaceLogger
  from py_proto import mace_pb2
label_desc: Use image node_id 12 for calling a global function with example usage: normalize_input_data_types(conf, input_count) without return types