code: def _create_type_metadata(input_type):
      return {
          "size": int(
              _shape_to_size(input_type.shape, input_type.dtype)
          ),
          "dtype": str(input_type.dtype),
      }
  
imports: import datetime
  import json
  import os
  import pathlib
  import re
  import tarfile
  import typing
  import tvm
  from tvm.micro import get_standalone_crt_dir, get_microtvm_template_projects
  from .._ffi import get_global_func
  from ..contrib import utils
  from ..driver import build_module
  from ..relay import param_dict
  from ..relay.backend import executor_factory
  from ..relay.backend.name_transforms import prefix_generated_name, to_c_variable_style
  from ..tir import expr
label_desc: Use image node_id 5 for calling a global function with example usage: _create_type_metadata(input_type) and returns: dict