code: def _parse_num_workers(num_workers, use_threads=False):
      if use_threads:
          return fou.recommend_thread_pool_workers(num_workers)
  
      return fou.recommend_process_pool_workers(num_workers)
  
imports: import importlib
  import itertools
  import logging
  import multiprocessing.dummy
  import os
  import numpy
  import eta.core.utils
  import eta.core.video
  import fiftyone.core.utils
label_desc: Use image node_id 3 for calling a global function with example usage: _parse_num_workers(num_workers, use_threads) and returns: fou, fou