docstr: Wrapper function to retrieve results for all queries in dataset using brute-force search.
docstr_tok: ["Wrapper","function","to","retrieve","results","for","all","queries","in","dataset","using","brute-force","search","."]
code: def _fetch_nearest_neighbors_brute_force(self) -> None:
      """
      Wrapper function to retrieve results for all queries in dataset using brute-force search.
      """
      logger.info(
          "Start: Retrieving duplicates using Brute force algorithm"
      )
      brute_force = BruteForce(self.test, self.distance_invoker)
      self._get_query_results(brute_force)
      logger.info(
          "End: Retrieving duplicates using Brute force algorithm"
      )
  
imports: from multiprocessing import cpu_count
  import sys
  from typing import Callable, Dict, Union, Tuple
  import numpy
  from sklearn.metrics.pairwise import cosine_similarity
  from tqdm import tqdm
  from imagededup.handlers.search.bktree import BKTree
  from imagededup.handlers.search.brute_force import BruteForce
  from imagededup.handlers.search.brute_force_cython import BruteForceCython
  from imagededup.utils.general_utils import parallelise
  from imagededup.utils.logger import return_logger
label_desc: Use image node_id 4 for calling the HashEval obj's underlying member method code with example usage: obj._fetch_nearest_neighbors_brute_force() without return types