code: def parse_tensor_info_map(protomap):
      """Converts a proto map<string, TensorInfo> into a native Python dict.
  
      The keys are preserved. The TensorInfo protos are parsed into objects
      with dtype property and get_shape() method similar to Tensor, SparseTensor,
      and RaggedTensor objects, and additional `is_sparse` and `is_composite`
      properties.
  
      Args:
        protomap: A proto map<string, TensorInfo>.
  
      Returns:
        A map from the original keys to python objects.
      """
      return {
          key: _parse_tensor_info_proto(value)
          for key, value in protomap.items()
      }
  
imports: import tensorflow
  from tensorflow_hub import tf_utils
label_desc: Use image node_id 2 for calling a global function with example usage: parse_tensor_info_map(protomap) and returns: unknown