code: def _input_from_onnx_input(
      input,
  ):  # type: (ValueInfoProto) -> EdgeInfo
      name = input.name
      type = input.type.tensor_type.elem_type
      shape = tuple(
          [d.dim_value for d in input.type.tensor_type.shape.dim]
      )
      return (name, type, shape)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from onnx import numpy_helper, ValueInfoProto, AttributeProto, GraphProto, NodeProto, TensorProto, TensorShapeProto
  from typing import Any, Text, Iterable, List, Dict, Sequence, Optional, Tuple, Union
  from typing_extensions import Protocol
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: _input_from_onnx_input(input) and returns: name,  type,  shape