code: def _make_selector_from_key_distribution_options(
      options,
  ) -> reverb_types.SelectorType:
      """Returns a Selector from its KeyDistributionOptions description."""
      one_of = options.WhichOneof("distribution")
      if one_of == "fifo":
          return item_selectors.Fifo()
      if one_of == "uniform":
          return item_selectors.Uniform()
      if one_of == "prioritized":
          return item_selectors.Prioritized(
              options.prioritized.priority_exponent
          )
      if one_of == "heap":
          if options.heap.min_heap:
              return item_selectors.MinHeap()
          return item_selectors.MaxHeap()
      if one_of == "lifo":
          return item_selectors.Lifo()
      raise ValueError(f"Unknown distribution field: {one_of}")
  
file_path: acme/acme/utils/reverb_utils.py
imports: from acme import types
  import jax
  import numpy
  import reverb
  from reverb import item_selectors
  from reverb import rate_limiters
  from reverb import reverb_types
  import tensorflow
  import tree
label_desc: Use image node_id 2 for calling a global function with example usage: _make_selector_from_key_distribution_options(options) and returns: item_selectors, item_selectors, item_selectors, item_selectors, item_selectors, item_selectors