code: def _get_shape(value_info: ValueInfoProto) -> List[int]:
      """Returns a list of integers representing the shape of the provided ValueInfoProto"""
      return [
          value_info.type.tensor_type.shape.dim[d].dim_value
          for d in range(len(value_info.type.tensor_type.shape.dim))
      ]
  
imports: import unittest
  from typing import Callable, List, Optional, Sequence, Tuple
  import numpy
  from onnx import FunctionProto, GraphProto, ModelProto, NodeProto, SparseTensorProto, TensorProto, ValueInfoProto, checker, compose, helper, parser, version_converter
label_desc: Use image node_id 3 for calling a global function with example usage: _get_shape(value_info) and returns: unknown