code: def compute_serialized_parameters_size(
      num_parameters: int, dtype: ParameterFormat
  ) -> int:
      """
      Compute the size taken by all the parameters in the given the storage format when serializing the model
  
      Args:
          num_parameters: Number of parameters to be saved
          dtype: The data format each parameter will be saved
  
      Returns:
          Size (in byte) taken to save all the parameters
      """
      return num_parameters * dtype.size
  
file_path: transformers/src/transformers/onnx/utils.py
imports: from ctypes import c_float, sizeof
  from enum import Enum
  from typing import TYPE_CHECKING, Optional, Union
label_desc: Use image node_id 2 for calling a global function with example usage: compute_serialized_parameters_size(num_parameters, dtype) and returns: unknown