code: def get_all_tensor_dtypes() -> KeysView[int]:
      """Get all tensor types from TensorProto.
  
      Returns:
          all tensor types from TensorProto
      """
      return mapping.TENSOR_TYPE_MAP.keys()
  
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, subbyte
label_desc: Use image node_id 51 for calling a global function with example usage: get_all_tensor_dtypes() and returns: mapping