code: def tensor_dtype_to_string(tensor_dtype: int) -> str:
      """
      Get the name of given TensorProto's data_type.
  
      :param tensor_dtype: TensorProto's data_type
      :return: the name of data_type
      """
      return mapping.TENSOR_TYPE_MAP[tensor_dtype].name
  
imports: import collections.abc
  import numbers
  import struct
  from cmath import isnan
  from typing import Any, Callable, Dict, KeysView, List, Optional, Sequence, Tuple, TypeVar, Union, cast
  import google.protobuf.message
  import numpy
  from onnx import IR_VERSION, AttributeProto, FunctionProto, GraphProto, MapProto, ModelProto, NodeProto, OperatorSetIdProto, OptionalProto, SequenceProto, SparseTensorProto, TensorProto, TensorShapeProto, TrainingInfoProto, TypeProto, ValueInfoProto, defs, mapping
label_desc: Use image node_id 46 for calling a global function with example usage: tensor_dtype_to_string(tensor_dtype) and returns: mapping