code: def random_sample_from_prod_discrete_domain(
      list_of_list_of_vals, num_samples
  ):
      """Sample from a product of discrete domains."""
      return random_sample_from_discrete_domain(
          list_of_list_of_vals, num_samples
      )
  
imports: from __future__ import print_function
  from __future__ import division
  from argparse import Namespace
  from datetime import datetime
  from warnings import warn
  import os
  import numpy
  from .general_utils import map_to_bounds
  from .doo import DOOFunction, pdoo_wrap
label_desc: Use image node_id 17 for calling a global function with example usage: random_sample_from_prod_discrete_domain(list_of_list_of_vals, num_samples) and returns: random_sample_from_discrete_domain