code: def cartesian_product_of_parameters(
      **possible_parameters: Sequence[Any],
  ) -> Iterator[Dict[str, Any]]:
      """Create cartesian product of given parameters."""
      parameter_names = possible_parameters.keys()
      possible_values = [
          possible_parameters[parameter_name]
          for parameter_name in parameter_names
      ]
  
      for param_combination in product(*possible_values):
          yield dict(zip(parameter_names, param_combination))
  
imports: import importlib.util
  import math
  from abc import ABC, abstractmethod
  from copy import deepcopy
  from itertools import product
  from typing import Any, Callable, Dict, Iterator, Optional, Sequence, Tuple, TypeVar, Union
  import torch
  from torch.autograd import gradcheck
  from torch.testing import assert_close
  from kornia.core import Device, Dtype, Tensor, eye, tensor
label_desc: Use image node_id 11 for calling a global function with example usage: cartesian_product_of_parameters() without return types