class_docstr: Base class for ONNX exportable model describing metadata on how to export the model through the ONNX format.
docstr: Flatten any potential nested structure expanding the name of the field with the index of the element within the
  structure.
  
  Args:
      name: The name of the nested structure
      field: The structure to, potentially, be flattened
  
  Returns:
      (Dict[str, Any]): Outputs with flattened structure and key mapping this new structure.
docstr_tok: ["Flatten","any","potential","nested","structure","expanding","the","name","of","the","field","with","the","index","of","the","element","within","the","structure",".","Args",":","name",":","The","name","of","the","nested","structure","field",":","The","structure","to",",","potentially",",","be","flattened","Returns",":","(","Dict","[","str",",","Any","]",")",":","Outputs","with","flattened","structure","and","key","mapping","this","new","structure","."]
code: def flatten_output_collection_property(
      cls, name: str, field: Iterable[Any]
  ) -> Dict[str, Any]:
      """
      Flatten any potential nested structure expanding the name of the field with the index of the element within the
      structure.
  
      Args:
          name: The name of the nested structure
          field: The structure to, potentially, be flattened
  
      Returns:
          (Dict[str, Any]): Outputs with flattened structure and key mapping this new structure.
  
      """
      from itertools import chain
  
      return {
          f"{name}.{idx}": item
          for idx, item in enumerate(chain.from_iterable(field))
      }
  
imports: import copy
  import dataclasses
  import warnings
  from abc import ABC, abstractmethod
  from collections import OrderedDict
  from typing import TYPE_CHECKING, Any, Callable, Dict, Iterable, List, Mapping, Optional, Tuple, Union
  import numpy
  from packaging import version
  from ..utils import TensorType, is_torch_available, is_vision_available, logging
  from .utils import ParameterFormat, compute_effective_axis_dimension, compute_serialized_parameters_size
label_desc: Use image node_id 19 for calling the OnnxConfig obj's underlying member method code with example usage: obj.flatten_output_collection_property(cls, name, field) and returns: unknown