code: def _prod(*args):
      """Generator that returns unique cartesian product of given tuple arguments
  
      Parameters
      ----------
      *args : List[Tuple]
          Variable length argument list.
  
      Yields
      ------
      Tuple
          A non-duplicate numbers in a tuple.
      """
      seen = set()
      for prod in product(*args):
          prod_set = frozenset(prod)
          if len(prod_set) != len(prod):
              continue
          if prod_set not in seen:
              seen.add(prod_set)
              yield prod
  
imports: import math
  import warnings
  from typing import Dict, Tuple
  from types import MethodType
  from itertools import combinations, product
  from collections import defaultdict, namedtuple
  import numpy
  from pandas import DataFrame
  from numpy.linalg import det, pinv, matrix_rank
  from scipy.linalg import svd, LinAlgError, solve
  from scipy import stats, special
  from .None import common_args
  from ..util import read_param_file, ResultDict
label_desc: Use image node_id 6 for calling a global function with example usage: _prod() without return types