code: def _get_initializer_tensors_from_graph(
      onnx_model_proto_graph: GraphProto,
  ) -> Iterable[TensorProto]:
      """Create an iterator of initializer tensors from ONNX model graph."""
      yield from onnx_model_proto_graph.initializer
      for node in onnx_model_proto_graph.node:
          for attribute in node.attribute:
              yield from _recursive_attribute_processor(
                  attribute, _get_initializer_tensors_from_graph
              )
  
imports: import os
  import re
  import sys
  import uuid
  from itertools import chain
  from typing import Callable, Iterable, Optional
  from onnx.onnx_pb import AttributeProto, GraphProto, ModelProto, TensorProto
label_desc: Use image node_id 9 for calling a global function with example usage: _get_initializer_tensors_from_graph(onnx_model_proto_graph) without return types